Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9786/0.9786, allocations: 173.4 MB / 201.2 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.663e-05, allocations: 6.25 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002817/0.002844, allocations: 2.796 MB / 270.8 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008469/0.003691, allocations: 0.6271 MB / 271.4 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.003798, allocations: 12 kB / 271.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.003921, allocations: 51.45 kB / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.004071, allocations: 99.11 kB / 271.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.004301, allocations: 87.81 kB / 271.7 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.004606, allocations: 390.3 kB / 272.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.004767, allocations: 87.34 kB / 272.1 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.004967, allocations: 223.5 kB / 272.4 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.005105, allocations: 127.6 kB / 272.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.00515, allocations: 36 kB / 272.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.742e-05/0.005187, allocations: 32 kB / 272.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.005237, allocations: 71.73 kB / 272.6 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.005334, allocations: 119.7 kB / 272.7 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.005587, allocations: 247.1 kB / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005589, allocations: 0 / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00559, allocations: 0 / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005594, allocations: 0 / 273 MB, free: 1.41 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000762/0.006356, allocations: 0.6624 MB / 273.6 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.006392, allocations: 12.92 kB / 273.7 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.006468, allocations: 52.75 kB / 273.7 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.006719, allocations: 224.9 kB / 273.9 MB, free: 400 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.006734, allocations: 16.88 kB / 273.9 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.006761, allocations: 24.38 kB / 274 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.00711, allocations: 297.1 kB / 274.3 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.007119, allocations: 192 / 274.3 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.007142, allocations: 12.38 kB / 274.3 MB, free: 20 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.007151, allocations: 7.938 kB / 274.3 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.007339, allocations: 106.9 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009455/0.008284, allocations: 1 MB / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.008476, allocations: 99.09 kB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.008536, allocations: 39.67 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.008558, allocations: 8.078 kB / 275.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.008725, allocations: 179.4 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.008726, allocations: 0 / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006586/0.009385, allocations: 244.9 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.009439, allocations: 110.8 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.009636, allocations: 304.2 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.009658, allocations: 33.7 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.009772, allocations: 250.7 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.009799, allocations: 39.69 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.00987, allocations: 55.59 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01, allocations: 0.5001 MB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.01009, allocations: 57.92 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.01023, allocations: 268.5 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.01042, allocations: 240.6 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.01042, allocations: 4 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003818/0.01081, allocations: 328.1 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.01084, allocations: 41.69 kB / 278.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.01084, allocations: 4.406 kB / 278.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.01109, allocations: 71.64 kB / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.0112, allocations: 43.91 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.0123, allocations: 1.916 MB / 280.2 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.01244, allocations: 43.98 kB / 280.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.01246, allocations: 16 kB / 280.2 MB, free: 9.531 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (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 (23): * Single equations (assignments): 21 * 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 9.157e-05/0.01255, allocations: 172.5 kB / 280.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.01258, allocations: 35.8 kB / 280.4 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.0126, allocations: 17.78 kB / 280.4 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.01261, allocations: 7.984 kB / 280.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01261, allocations: 7.938 kB / 280.5 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01261, allocations: 0 / 280.5 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.01275, allocations: 212.5 kB / 280.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01275, allocations: 0 / 280.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.01279, allocations: 11.98 kB / 280.7 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/0.01296, allocations: 67.64 kB / 280.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.01298, allocations: 11.92 kB / 280.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000904/0.01388, allocations: 1.897 MB / 282.7 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01388, allocations: 3.938 kB / 282.7 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.01414, allocations: 200.2 kB / 282.9 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.01419, allocations: 39.77 kB / 282.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.01422, allocations: 11.92 kB / 282.9 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.058e-05/0.0143, allocations: 20.02 kB / 282.9 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.01437, allocations: 31.89 kB / 283 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.01438, allocations: 0 / 283 MB, free: 6.594 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.01448, allocations: 213.1 kB / 283.2 MB, free: 6.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01448, allocations: 0 / 283.2 MB, free: 6.387 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002195/0.0147, allocations: 79.89 kB / 283.2 MB, free: 6.309 MB / 266.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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 7.764e-05/0.01478, allocations: 95.25 kB / 283.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.01517, allocations: 398.3 kB / 283.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.01517, allocations: 0 / 283.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.01533, allocations: 233.4 kB / 284 MB, free: 5.527 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.01552, allocations: 41.3 kB / 284 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/0.01622, allocations: 446.9 kB / 284.4 MB, free: 5.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.01626, allocations: 76.33 kB / 284.5 MB, free: 4.926 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.01633, allocations: 26.28 kB / 284.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.01638, allocations: 20.5 kB / 284.6 MB, free: 4.879 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01638, allocations: 0 / 284.6 MB, free: 4.879 MB / 266.7 MB Notification: Performance of Templates: time 0.005719/0.0221, allocations: 4.318 MB / 288.9 MB, free: 0.625 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6965453727170825]