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.001435/0.001435, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001088/0.001088, allocations: 141.2 kB / 24.89 MB, free: 9.211 MB / 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.912/0.912, allocations: 173.3 MB / 201.5 MB, free: 9.195 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.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 1.232e-06/1.232e-06, allocations: 0 / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.046e-05, allocations: 2.312 kB / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003225/0.003245, allocations: 3.055 MB / 271.6 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.004373, allocations: 0.779 MB / 272.3 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.004506, allocations: 7.938 kB / 272.3 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.004646, allocations: 51.5 kB / 272.4 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.004823, allocations: 126.9 kB / 272.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.005077, allocations: 127.8 kB / 272.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.005429, allocations: 478 kB / 273.1 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.005587, allocations: 98.05 kB / 273.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.005865, allocations: 263.5 kB / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.006019, allocations: 155.5 kB / 273.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.006064, allocations: 48 kB / 273.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.672e-05/0.006101, allocations: 44 kB / 273.7 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.006156, allocations: 91.67 kB / 273.8 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.652e-05/0.006253, allocations: 135.7 kB / 273.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.006503, allocations: 291 kB / 274.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006505, allocations: 0 / 274.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006506, allocations: 0 / 274.2 MB, free: 428 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.00651, allocations: 0 / 274.2 MB, free: 428 kB / 250.7 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.0007089/0.007219, allocations: 0.5951 MB / 274.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.007247, allocations: 12.03 kB / 274.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/0.007312, allocations: 44.91 kB / 274.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.007531, allocations: 200.7 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.007548, allocations: 21.03 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.007585, allocations: 28.38 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.007893, allocations: 309.7 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.007902, allocations: 4.188 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.00792, allocations: 11.94 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.007928, allocations: 8 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.008034, allocations: 76.5 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.008984, allocations: 0.8663 MB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.009159, allocations: 114.5 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.009228, allocations: 48.84 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.009245, allocations: 4 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.009385, allocations: 173.3 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.009387, allocations: 0 / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004733/0.00986, allocations: 237.2 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.009902, allocations: 110.8 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.01005, allocations: 253.2 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.01007, allocations: 33.64 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.01014, allocations: 192.8 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.01018, allocations: 63.47 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.01024, allocations: 65.62 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.01032, allocations: 342.8 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/0.01037, allocations: 49.97 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.01049, allocations: 213.5 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.01062, allocations: 186.8 kB / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01062, allocations: 0 / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002951/0.01092, allocations: 265.8 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.01095, allocations: 33.69 kB / 278.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01095, allocations: 4 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.0111, allocations: 52.83 kB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.01124, allocations: 67.91 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007283/0.01196, allocations: 1.19 MB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.0121, allocations: 51.75 kB / 280.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.01211, allocations: 12 kB / 280.1 MB, free: 10.05 MB / 266.7 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 7.892e-05/0.01219, allocations: 129.8 kB / 280.2 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.01221, allocations: 23.91 kB / 280.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.01224, allocations: 30.12 kB / 280.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01224, allocations: 0 / 280.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01225, allocations: 7.984 kB / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01225, allocations: 4 kB / 280.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.01264, allocations: 392 kB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01264, allocations: 0 / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.01274, allocations: 35.97 kB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.01284, allocations: 40.88 kB / 280.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01285, allocations: 11.98 kB / 280.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006434/0.01349, allocations: 1.19 MB / 281.9 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.0135, allocations: 3.938 kB / 281.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.01375, allocations: 271.6 kB / 282.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.01377, allocations: 23.8 kB / 282.2 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.0138, allocations: 15.94 kB / 282.2 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.0139, allocations: 20.08 kB / 282.3 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.01394, allocations: 23.95 kB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.01395, allocations: 8 kB / 282.3 MB, free: 7.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.28e-05/0.01401, allocations: 86.7 kB / 282.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01401, allocations: 0 / 282.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002081/0.01422, allocations: 83.84 kB / 282.5 MB, free: 7.527 MB / 266.7 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 8.579e-05/0.01431, allocations: 92.34 kB / 282.6 MB, free: 7.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.01458, allocations: 310.5 kB / 282.9 MB, free: 7.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.01458, allocations: 4 kB / 282.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.0147, allocations: 167.4 kB / 283 MB, free: 6.914 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.0149, allocations: 45.22 kB / 283.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.01595, allocations: 0.6571 MB / 283.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.452e-05/0.016, allocations: 88.3 kB / 283.8 MB, free: 6.082 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.221e-05/0.01607, allocations: 26.98 kB / 283.8 MB, free: 6.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.0162, allocations: 111.3 kB / 283.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0162, allocations: 0 / 283.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of Templates: time 0.006244/0.02244, allocations: 4.513 MB / 288.5 MB, free: 1.504 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] 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","",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.6970538520254195]