Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002635/0.002635, allocations: 103.5 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002923/0.002923, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.62/1.62, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.986e-05/4.153e-05, allocations: 2.312 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.005117/0.005158, allocations: 2.932 MB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.007068, allocations: 0.7283 MB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.007227, allocations: 7.938 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.007418, allocations: 51.5 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.00766, allocations: 115 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.00798, allocations: 103.8 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005167/0.008497, allocations: 422.2 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.008716, allocations: 87.67 kB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.009069, allocations: 243.4 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.00931, allocations: 139.6 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.957e-05/0.00938, allocations: 40 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-05/0.009461, allocations: 40 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.896e-05/0.00956, allocations: 79.69 kB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.009741, allocations: 131.7 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.01037, allocations: 466.6 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.01037, allocations: 4 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01037, allocations: 0 / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.01038, allocations: 7.938 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001361/0.01174, allocations: 0.7127 MB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.01179, allocations: 11.98 kB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.01192, allocations: 56.75 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.01236, allocations: 252 kB / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.01239, allocations: 21.03 kB / 278.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.01244, allocations: 28.36 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.01309, allocations: 347.7 kB / 279.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.0131, allocations: 192 / 279.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.01313, allocations: 8.375 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.01315, allocations: 11.94 kB / 279.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.01373, allocations: 234.5 kB / 279.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.01577, allocations: 1.089 MB / 280.5 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.01633, allocations: 199.1 kB / 280.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.01655, allocations: 86.45 kB / 280.8 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.01658, allocations: 4 kB / 280.8 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004742/0.01706, allocations: 269 kB / 281.1 MB, free: 8.656 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.01706, allocations: 0 / 281.1 MB, free: 8.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001415/0.01847, allocations: 380.9 kB / 281.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.01859, allocations: 140.5 kB / 281.6 MB, free: 8.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.01903, allocations: 372.2 kB / 282 MB, free: 7.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.01907, allocations: 33.7 kB / 282 MB, free: 7.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.01929, allocations: 262.7 kB / 282.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.01936, allocations: 59.56 kB / 282.3 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.01964, allocations: 67.31 kB / 282.4 MB, free: 7.293 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000292/0.01993, allocations: 0.5196 MB / 282.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.02019, allocations: 113.7 kB / 283 MB, free: 6.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.02064, allocations: 330.4 kB / 283.3 MB, free: 6.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.02122, allocations: 302 kB / 283.6 MB, free: 5.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.02122, allocations: 4 kB / 283.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009643/0.02219, allocations: 414.7 kB / 284 MB, free: 5.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.02225, allocations: 37.69 kB / 284.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.02226, allocations: 4.312 kB / 284.1 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005131/0.02277, allocations: 91.61 kB / 284.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.02296, allocations: 43.92 kB / 284.2 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.02555, allocations: 2.172 MB / 286.4 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.02583, allocations: 47.81 kB / 286.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.02585, allocations: 12.11 kB / 286.4 MB, free: 2.918 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (gain.opAmp.satNeg,gain.opAmp.satPos,vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.02606, allocations: 196.5 kB / 286.6 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.02612, allocations: 35.8 kB / 286.7 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.02618, allocations: 26.11 kB / 286.7 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.02618, allocations: 4 kB / 286.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.02618, allocations: 0 / 286.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.02619, allocations: 0 / 286.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.02656, allocations: 280.5 kB / 287 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.02656, allocations: 3.984 kB / 287 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.02667, allocations: 16 kB / 287 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003806/0.02705, allocations: 87.61 kB / 287.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.02707, allocations: 7.938 kB / 287.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/0.02946, allocations: 2.176 MB / 289.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02946, allocations: 0 / 289.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.03032, allocations: 298.9 kB / 289.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.03038, allocations: 31.88 kB / 289.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.03042, allocations: 3.938 kB / 289.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.03062, allocations: 27.97 kB / 289.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.03071, allocations: 27.95 kB / 289.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.03073, allocations: 4 kB / 289.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002557/0.03098, allocations: 245.1 kB / 289.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03098, allocations: 0 / 289.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003714/0.03135, allocations: 91.78 kB / 290 MB, free: 15.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,gain.opAmp.satPos,gain.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.03152, allocations: 111.2 kB / 290.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009184/0.03244, allocations: 489.4 kB / 290.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.03244, allocations: 0 / 290.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.03289, allocations: 302 kB / 290.9 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.03321, allocations: 52.39 kB / 290.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.03471, allocations: 0.5261 MB / 291.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.03487, allocations: 159.3 kB / 291.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.03498, allocations: 22.3 kB / 291.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.03507, allocations: 28.48 kB / 291.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03507, allocations: 0 / 291.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of Templates: time 0.01029/0.04536, allocations: 4.447 MB / 296.1 MB, free: 9.004 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.715129357064143]