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.001571/0.001571, allocations: 113 kB / 19.04 MB, free: 3.254 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.001868/0.001868, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.479/1.479, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.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 0.001521/0.001521, allocations: 59.89 kB / 368.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2908, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00482/0.2956, allocations: 3.118 MB / 424 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.297, allocations: 0.7754 MB / 424.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.2972, allocations: 4 kB / 424.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.2974, allocations: 55.44 kB / 424.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.2976, allocations: 119 kB / 425 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.2979, allocations: 127.8 kB / 425.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000533/0.2984, allocations: 458.2 kB / 425.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.2987, allocations: 102.9 kB / 425.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.299, allocations: 175.3 kB / 425.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.2992, allocations: 191.2 kB / 426 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.2993, allocations: 44 kB / 426 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.936e-05/0.2993, allocations: 47.94 kB / 426.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.213e-05/0.2994, allocations: 87.69 kB / 426.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.2996, allocations: 199.1 kB / 426.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.3002, allocations: 0.4954 MB / 426.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3002, allocations: 0 / 426.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3002, allocations: 0 / 426.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.3002, allocations: 0 / 426.9 MB, free: 9.109 MB / 334.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.001479/0.3017, allocations: 0.7146 MB / 427.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3017, allocations: 15.89 kB / 427.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.758e-05/0.3018, allocations: 40.7 kB / 427.6 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.3023, allocations: 310.8 kB / 427.9 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3023, allocations: 24.92 kB / 428 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.3024, allocations: 36.31 kB / 428 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007843/0.3031, allocations: 351.6 kB / 428.3 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3032, allocations: 0 / 428.3 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.3032, allocations: 8 kB / 428.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.3032, allocations: 8 kB / 428.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.3041, allocations: 310 kB / 428.7 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.3065, allocations: 1.26 MB / 429.9 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008447/0.3073, allocations: 323.5 kB / 430.2 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.3078, allocations: 136.8 kB / 430.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.3078, allocations: 0 / 430.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005253/0.3083, allocations: 196.9 kB / 430.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.3083, allocations: 4 kB / 430.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002256/0.3106, allocations: 0.6395 MB / 431.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.3106, allocations: 106.8 kB / 431.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.311, allocations: 295 kB / 431.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.311, allocations: 25.7 kB / 431.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.3112, allocations: 216.6 kB / 431.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.3113, allocations: 71.45 kB / 431.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3114, allocations: 53.7 kB / 432 MB, free: 3.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3116, allocations: 334.8 kB / 432.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.3119, allocations: 112.2 kB / 432.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.3124, allocations: 213.4 kB / 432.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/0.3132, allocations: 347.6 kB / 432.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3132, allocations: 0 / 432.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001318/0.3145, allocations: 489.7 kB / 433.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.3146, allocations: 33.7 kB / 433.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3146, allocations: 4 kB / 433.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.3149, allocations: 64.8 kB / 433.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.3152, allocations: 71.95 kB / 433.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.3177, allocations: 1.637 MB / 435.2 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.3181, allocations: 51.75 kB / 435.3 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.3181, allocations: 19.94 kB / 435.3 MB, free: 108 kB / 334.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.0001955/0.3183, allocations: 154.3 kB / 435.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.3184, allocations: 31.78 kB / 435.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.3184, allocations: 30.16 kB / 435.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3184, allocations: 7.984 kB / 435.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3184, allocations: 0 / 435.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3184, allocations: 0 / 435.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.3201, allocations: 0.8003 MB / 436.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3201, allocations: 0 / 436.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.3203, allocations: 43.95 kB / 436.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.3206, allocations: 64.84 kB / 436.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3206, allocations: 7.984 kB / 436.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.3228, allocations: 1.617 MB / 438 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.3228, allocations: 8.031 kB / 438.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.3243, allocations: 0.5649 MB / 438.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/0.3244, allocations: 108.9 kB / 438.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.3245, allocations: 12.06 kB / 438.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.3248, allocations: 35.95 kB / 438.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.3249, allocations: 19.97 kB / 438.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.3249, allocations: 4 kB / 438.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002495/0.3251, allocations: 214 kB / 439 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3251, allocations: 0 / 439 MB, free: 12.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.3256, allocations: 83.83 kB / 439.1 MB, free: 12.06 MB / 350.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.000162/0.3257, allocations: 111.1 kB / 439.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.3268, allocations: 437.8 kB / 439.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3268, allocations: 0 / 439.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004831/0.3273, allocations: 239.1 kB / 439.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.3278, allocations: 48.84 kB / 439.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.3306, allocations: 0.8764 MB / 440.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.331, allocations: 0.7638 MB / 441.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.3311, allocations: 34.95 kB / 441.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.3312, allocations: 23.44 kB / 441.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3312, allocations: 0 / 441.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of Templates: time 0.009418/0.3406, allocations: 4.415 MB / 446 MB, free: 5.07 MB / 350.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.657253937795758]