Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008777/0.0008777, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008338/0.0008338, allocations: 161 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.833/0.833, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.93e-05, allocations: 6.281 kB / 299.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.002389/0.002408, allocations: 2.529 MB / 302.3 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009072/0.003316, allocations: 0.6864 MB / 303 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.003421, allocations: 7.938 kB / 303 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.003537, allocations: 51.5 kB / 303 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.003664, allocations: 99.25 kB / 303.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.00388, allocations: 95.75 kB / 303.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.004145, allocations: 362.3 kB / 303.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.004276, allocations: 60.89 kB / 303.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.004435, allocations: 191.5 kB / 303.8 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.004549, allocations: 111.6 kB / 303.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.004586, allocations: 28 kB / 303.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.611e-05/0.004612, allocations: 36 kB / 304 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.004657, allocations: 67.73 kB / 304 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.72e-05/0.004734, allocations: 103.8 kB / 304.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.004991, allocations: 334.9 kB / 304.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.004993, allocations: 0 / 304.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004994, allocations: 3.938 kB / 304.5 MB, free: 2.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.004998, allocations: 0 / 304.5 MB, free: 2.117 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007536/0.005752, allocations: 0.5741 MB / 305 MB, free: 1.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.005785, allocations: 19.92 kB / 305.1 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.005837, allocations: 24.8 kB / 305.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.006083, allocations: 221 kB / 305.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.006097, allocations: 20.88 kB / 305.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.006119, allocations: 16.38 kB / 305.3 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.006519, allocations: 300 kB / 305.6 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.006528, allocations: 192 / 305.6 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.006547, allocations: 8.375 kB / 305.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.006554, allocations: 7.938 kB / 305.7 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.006944, allocations: 257.8 kB / 305.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000845/0.007789, allocations: 0.7236 MB / 306.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.008174, allocations: 214.5 kB / 306.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.008317, allocations: 96.78 kB / 306.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.008334, allocations: 0 / 306.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.008592, allocations: 233.3 kB / 307.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.008593, allocations: 0 / 307.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009859/0.009579, allocations: 0.5095 MB / 307.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.009626, allocations: 106.8 kB / 307.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.009792, allocations: 249.7 kB / 308 MB, free: 14.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.009809, allocations: 29.7 kB / 308 MB, free: 14.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.009886, allocations: 172.3 kB / 308.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.009912, allocations: 51.58 kB / 308.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.009965, allocations: 45.66 kB / 308.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.01004, allocations: 338.8 kB / 308.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.01021, allocations: 130.3 kB / 308.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.0104, allocations: 236.8 kB / 309 MB, free: 13.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.01071, allocations: 250.5 kB / 309.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01071, allocations: 0 / 309.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000551/0.01126, allocations: 441.4 kB / 309.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.01129, allocations: 33.64 kB / 309.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.01129, allocations: 4 kB / 309.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.01155, allocations: 108.8 kB / 309.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.01163, allocations: 43.91 kB / 309.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.01281, allocations: 1.751 MB / 311.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.01295, allocations: 51.86 kB / 311.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.01296, allocations: 15.98 kB / 311.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001811/0.01314, allocations: 201.8 kB / 311.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001704/0.01331, allocations: 228.7 kB / 312.1 MB, free: 9.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002609/0.01358, allocations: 233.9 kB / 312.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.01358, allocations: 0 / 312.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005104/0.01409, allocations: 361.3 kB / 312.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.0141, allocations: 37.7 kB / 312.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.01411, allocations: 0 / 312.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.12e-05/0.01418, allocations: 44.83 kB / 312.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.01426, allocations: 40.09 kB / 312.8 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007501/0.01501, allocations: 1.579 MB / 314.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.01514, allocations: 40.05 kB / 314.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.01515, allocations: 16 kB / 314.4 MB, free: 7.484 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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 7.85e-05/0.01523, allocations: 192.3 kB / 314.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.01525, allocations: 27.8 kB / 314.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.01528, allocations: 25.72 kB / 314.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01528, allocations: 4 kB / 314.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.01528, allocations: 0 / 314.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01528, allocations: 3.984 kB / 314.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.01541, allocations: 201.1 kB / 314.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01542, allocations: 0 / 314.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.01547, allocations: 23.97 kB / 314.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/0.01561, allocations: 72.78 kB / 315 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01562, allocations: 3.938 kB / 315 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009409/0.01656, allocations: 1.577 MB / 316.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.01656, allocations: 0 / 316.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.01698, allocations: 310.1 kB / 316.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.017, allocations: 19.86 kB / 316.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.01702, allocations: 7.938 kB / 316.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.01712, allocations: 39.89 kB / 316.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.01717, allocations: 19.97 kB / 316.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.01718, allocations: 4 kB / 316.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.01728, allocations: 177.2 kB / 317.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01728, allocations: 4 kB / 317.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003094/0.01759, allocations: 127.7 kB / 317.2 MB, free: 4.508 MB / 298.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 (9): * Single equations (assignments): 6 * 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 8.291e-05/0.01768, allocations: 107.3 kB / 317.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007322/0.01841, allocations: 0.729 MB / 318.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01841, allocations: 0 / 318.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.01863, allocations: 230.5 kB / 318.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.01883, allocations: 36.36 kB / 318.3 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.01939, allocations: 464.1 kB / 318.8 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.379e-05/0.01946, allocations: 138.5 kB / 318.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.01951, allocations: 28.44 kB / 319 MB, free: 2.66 MB / 298.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01951, allocations: 0 / 319 MB, free: 2.66 MB / 298.7 MB Notification: Performance of Templates: time 0.003957/0.02347, allocations: 4.226 MB / 323.2 MB, free: 14.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.376974708400667]