Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001745/0.001745, allocations: 79 kB / 20.67 MB, free: 1.023 MB / 14.72 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.002086/0.002086, allocations: 145.3 kB / 23.93 MB, free: 4.164 MB / 14.72 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 1.452/1.452, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] 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.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 319 MB, free: 3.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.458e-05, allocations: 2.281 kB / 319 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004209/0.004244, allocations: 2.857 MB / 321.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.005529, allocations: 0.7405 MB / 322.6 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.005705, allocations: 8.656 kB / 322.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.00588, allocations: 58.06 kB / 322.6 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.006112, allocations: 123.5 kB / 322.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.006452, allocations: 130.8 kB / 322.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.006932, allocations: 473.5 kB / 323.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.007174, allocations: 92.8 kB / 323.4 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.007553, allocations: 265.1 kB / 323.7 MB, free: 444 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.007789, allocations: 143.2 kB / 323.8 MB, free: 388 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.508e-05/0.007864, allocations: 44.88 kB / 323.9 MB, free: 388 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.396e-05/0.007938, allocations: 49.12 kB / 323.9 MB, free: 384 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.008026, allocations: 91.94 kB / 324 MB, free: 316 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.008195, allocations: 139.2 kB / 324.1 MB, free: 244 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.008832, allocations: 0.5042 MB / 324.6 MB, free: 48 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.008837, allocations: 4.703 kB / 324.7 MB, free: 44 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008839, allocations: 0 / 324.7 MB, free: 44 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.008847, allocations: 1.375 kB / 324.7 MB, free: 44 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001544/0.01039, allocations: 0.6393 MB / 325.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.01043, allocations: 10.34 kB / 325.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.01054, allocations: 38.42 kB / 325.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.01107, allocations: 255.7 kB / 325.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.0111, allocations: 21.16 kB / 325.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.01117, allocations: 31.22 kB / 325.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/0.01214, allocations: 402.6 kB / 326 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.01216, allocations: 192 / 326 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.0122, allocations: 15.34 kB / 326 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.01222, allocations: 10.78 kB / 326.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.01327, allocations: 306.3 kB / 326.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.01584, allocations: 1.079 MB / 327.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/0.01678, allocations: 253.9 kB / 327.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.01724, allocations: 132.4 kB / 327.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.01727, allocations: 2.312 kB / 327.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/0.01785, allocations: 247.9 kB / 328.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.01785, allocations: 0.7812 kB / 328.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002423/0.02028, allocations: 0.5609 MB / 328.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/0.02037, allocations: 115.4 kB / 328.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.0208, allocations: 284.8 kB / 329 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.02084, allocations: 29.31 kB / 329 MB, free: 13.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.02106, allocations: 213.4 kB / 329.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/0.02112, allocations: 56.56 kB / 329.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.02124, allocations: 57.56 kB / 329.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.02141, allocations: 336.5 kB / 329.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.02186, allocations: 147.7 kB / 329.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.0224, allocations: 300 kB / 330.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008427/0.02324, allocations: 339.9 kB / 330.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02324, allocations: 0 / 330.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00144/0.02468, allocations: 0.4991 MB / 331 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.02473, allocations: 42.5 kB / 331 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.02474, allocations: 6.5 kB / 331 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003665/0.02511, allocations: 62.56 kB / 331.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.02543, allocations: 65.83 kB / 331.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.02793, allocations: 1.512 MB / 332.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.0284, allocations: 69.86 kB / 332.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.02844, allocations: 14 kB / 332.7 MB, free: 10.74 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.02866, allocations: 155.3 kB / 332.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.02871, allocations: 24.17 kB / 332.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.02877, allocations: 27.64 kB / 332.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02877, allocations: 2.438 kB / 332.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.02877, allocations: 0 / 332.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.02878, allocations: 1.281 kB / 332.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.03052, allocations: 0.6918 MB / 333.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.03052, allocations: 1.031 kB / 333.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.03081, allocations: 42.5 kB / 333.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002599/0.03107, allocations: 67.75 kB / 333.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.03109, allocations: 6.188 kB / 333.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.03339, allocations: 1.5 MB / 335.2 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.03339, allocations: 5.562 kB / 335.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.03501, allocations: 0.5626 MB / 335.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.03507, allocations: 30.69 kB / 335.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.03512, allocations: 6.344 kB / 335.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.03543, allocations: 32.5 kB / 335.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.03553, allocations: 36.02 kB / 335.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.03555, allocations: 3.656 kB / 335.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.03579, allocations: 198.1 kB / 336.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03579, allocations: 1.312 kB / 336.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004576/0.03625, allocations: 85.25 kB / 336.2 MB, free: 8.078 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * 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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001605/0.03641, allocations: 107.7 kB / 336.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.03754, allocations: 468.3 kB / 336.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.03754, allocations: 1.375 kB / 336.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005144/0.03805, allocations: 227.4 kB / 337 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.0385, allocations: 51.55 kB / 337 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.04146, allocations: 0.8064 MB / 337.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.04163, allocations: 157.9 kB / 338 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.04177, allocations: 30.09 kB / 338 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.04185, allocations: 27.94 kB / 338 MB, free: 6.812 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.04185, allocations: 0 / 338 MB, free: 6.812 MB / 302.1 MB Notification: Performance of Templates: time 0.009763/0.05161, allocations: 4.279 MB / 342.3 MB, free: 3.57 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.518912885338068]