Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.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.001413/0.001413, allocations: 84.55 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001457/0.001457, allocations: 165 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.48e-05, allocations: 6.281 kB / 325.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00422/0.004245, allocations: 2.645 MB / 327.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.005932, allocations: 0.6495 MB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.006216, allocations: 4.719 kB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.006421, allocations: 42.22 kB / 328.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.006742, allocations: 104.9 kB / 328.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.007089, allocations: 89.03 kB / 328.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.007685, allocations: 389.6 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.0079, allocations: 80.06 kB / 329.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.008343, allocations: 220.2 kB / 329.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.008639, allocations: 122.7 kB / 329.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.389e-05/0.008723, allocations: 34.09 kB / 329.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-05/0.008811, allocations: 34.91 kB / 329.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.008916, allocations: 73.09 kB / 329.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.009171, allocations: 118 kB / 329.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006074/0.009779, allocations: 389.8 kB / 330 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.009781, allocations: 1.281 kB / 330 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.009782, allocations: 3.938 kB / 330 MB, free: 13.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.0098, allocations: 0 / 330 MB, free: 13.48 MB / 302.1 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.001641/0.01144, allocations: 0.5854 MB / 330.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.01148, allocations: 10.03 kB / 330.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.01158, allocations: 33.25 kB / 330.7 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.01197, allocations: 218.2 kB / 330.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.012, allocations: 23.41 kB / 330.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.01205, allocations: 28.7 kB / 330.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.01282, allocations: 353.3 kB / 331.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.01283, allocations: 192 / 331.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.01287, allocations: 6.281 kB / 331.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.01289, allocations: 10.34 kB / 331.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009066/0.01379, allocations: 259.6 kB / 331.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.01582, allocations: 0.9305 MB / 332.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009212/0.01674, allocations: 203.2 kB / 332.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.01709, allocations: 86 kB / 332.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.01711, allocations: 1.406 kB / 332.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005634/0.01768, allocations: 226.1 kB / 333 MB, free: 11.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.664e-06/0.01768, allocations: 0 / 333 MB, free: 11.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002308/0.01999, allocations: 441.2 kB / 333.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.02007, allocations: 113.2 kB / 333.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.02038, allocations: 266.5 kB / 333.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.02042, allocations: 31.08 kB / 333.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.02058, allocations: 202 kB / 334 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.02062, allocations: 44.5 kB / 334.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.02073, allocations: 52.52 kB / 334.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.02095, allocations: 336.3 kB / 334.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.02134, allocations: 120.2 kB / 334.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.02184, allocations: 279 kB / 334.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/0.02262, allocations: 303.3 kB / 335.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.02263, allocations: 5.031 kB / 335.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001343/0.02397, allocations: 454.4 kB / 335.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.02402, allocations: 40.69 kB / 335.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.02403, allocations: 4.156 kB / 335.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/0.02442, allocations: 68.41 kB / 335.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.02466, allocations: 53.08 kB / 335.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.02735, allocations: 1.576 MB / 337.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.02774, allocations: 55.36 kB / 337.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.02777, allocations: 16.75 kB / 337.4 MB, free: 7.562 MB / 302.1 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 0.0001912/0.02796, allocations: 141.7 kB / 337.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.02801, allocations: 26.08 kB / 337.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.02807, allocations: 23.11 kB / 337.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.02807, allocations: 2.062 kB / 337.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.02808, allocations: 192 / 337.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.02809, allocations: 9.172 kB / 337.6 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.02838, allocations: 208.8 kB / 337.8 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.02839, allocations: 5.188 kB / 337.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.02852, allocations: 23.59 kB / 337.8 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000284/0.0288, allocations: 64.58 kB / 337.9 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.02882, allocations: 8.875 kB / 337.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.03129, allocations: 1.554 MB / 339.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.03129, allocations: 0 / 339.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.03246, allocations: 307.5 kB / 339.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.03256, allocations: 36.05 kB / 339.8 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.03261, allocations: 9.344 kB / 339.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.03288, allocations: 36.17 kB / 339.8 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.03299, allocations: 27.72 kB / 339.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.033, allocations: 2.375 kB / 339.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.03321, allocations: 186.9 kB / 340 MB, free: 5.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03321, allocations: 1.125 kB / 340 MB, free: 5.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.03362, allocations: 83.34 kB / 340.1 MB, free: 5.293 MB / 302.1 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 0.0001518/0.03377, allocations: 101.9 kB / 340.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.03505, allocations: 432.5 kB / 340.6 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.03505, allocations: 4.125 kB / 340.6 MB, free: 4.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.03564, allocations: 230.5 kB / 340.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.03596, allocations: 28.48 kB / 340.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.03729, allocations: 455 kB / 341.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.03745, allocations: 142.9 kB / 341.5 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.03756, allocations: 30.27 kB / 341.5 MB, free: 3.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.03763, allocations: 16.5 kB / 341.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.03763, allocations: 0 / 341.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of Templates: time 0.00998/0.04761, allocations: 4.065 MB / 345.6 MB, free: 15.89 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.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.454390186816454]