Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.0007856/0.0007856, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003223/0.003223, allocations: 159.6 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8287/0.8287, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.692e-05, allocations: 2.281 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002718/0.002735, allocations: 2.887 MB / 328.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008742/0.003609, allocations: 0.7714 MB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.003727, allocations: 15.94 kB / 329.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.003847, allocations: 51.5 kB / 329.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.003986, allocations: 123 kB / 329.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.00422, allocations: 139.6 kB / 329.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.004536, allocations: 470 kB / 330.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.004714, allocations: 103.5 kB / 330.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.004991, allocations: 263.4 kB / 330.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.005121, allocations: 139.6 kB / 330.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.005157, allocations: 48 kB / 330.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.291e-05/0.00519, allocations: 47.94 kB / 330.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.005239, allocations: 91.67 kB / 331 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.005327, allocations: 131.7 kB / 331.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.005689, allocations: 0.5062 MB / 331.6 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005692, allocations: 0 / 331.6 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005692, allocations: 0 / 331.6 MB, free: 9.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.005697, allocations: 0 / 331.6 MB, free: 9.629 MB / 298.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.0008297/0.006527, allocations: 0.6462 MB / 332.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.006566, allocations: 8.031 kB / 332.3 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.006624, allocations: 40.7 kB / 332.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.006896, allocations: 260.6 kB / 332.6 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.006913, allocations: 21.03 kB / 332.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.006949, allocations: 28.38 kB / 332.6 MB, free: 8.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.00739, allocations: 405 kB / 333 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.007399, allocations: 192 / 333 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.007422, allocations: 15.94 kB / 333 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.007428, allocations: 7.938 kB / 333 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.007862, allocations: 310.4 kB / 333.4 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.009141, allocations: 1.079 MB / 334.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.009553, allocations: 242.4 kB / 334.7 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.009764, allocations: 132.8 kB / 334.8 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.009783, allocations: 4 kB / 334.8 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/0.01006, allocations: 253.1 kB / 335 MB, free: 6.023 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.01006, allocations: 3.938 kB / 335.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001058/0.01112, allocations: 0.5672 MB / 335.6 MB, free: 5.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.01117, allocations: 110.8 kB / 335.7 MB, free: 5.312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.01136, allocations: 290 kB / 336 MB, free: 5.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.01138, allocations: 29.7 kB / 336 MB, free: 4.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.01148, allocations: 216.3 kB / 336.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.01151, allocations: 59.53 kB / 336.3 MB, free: 4.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.01157, allocations: 57.66 kB / 336.4 MB, free: 4.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.01165, allocations: 330.8 kB / 336.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.01185, allocations: 145.9 kB / 336.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.01208, allocations: 302.1 kB / 337.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.01247, allocations: 331.7 kB / 337.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01247, allocations: 0 / 337.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006305/0.0131, allocations: 0.5119 MB / 338 MB, free: 2.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.01313, allocations: 33.7 kB / 338 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01313, allocations: 4 kB / 338 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.01332, allocations: 64.88 kB / 338.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.01347, allocations: 71.89 kB / 338.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.0146, allocations: 1.501 MB / 339.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.01476, allocations: 59.78 kB / 339.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.01477, allocations: 19.94 kB / 339.7 MB, free: 1.043 MB / 298.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 0.0001019/0.01487, allocations: 161.8 kB / 339.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.0149, allocations: 27.81 kB / 339.9 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.01492, allocations: 34.11 kB / 339.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01493, allocations: 0 / 339.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01493, allocations: 0 / 339.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01493, allocations: 0 / 339.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/0.0157, allocations: 0.6868 MB / 340.6 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.0157, allocations: 0 / 340.6 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.01581, allocations: 43.97 kB / 340.7 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/0.01594, allocations: 60.75 kB / 340.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01595, allocations: 8.031 kB / 340.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.01707, allocations: 1.491 MB / 342.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.01707, allocations: 8.016 kB / 342.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007053/0.01778, allocations: 0.5593 MB / 342.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.01781, allocations: 31.83 kB / 342.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.01783, allocations: 7.938 kB / 342.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.01795, allocations: 36.03 kB / 342.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.01801, allocations: 31.88 kB / 342.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.01802, allocations: 8 kB / 342.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.01815, allocations: 205.2 kB / 343.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01815, allocations: 0 / 343.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.01839, allocations: 79.83 kB / 343.2 MB, free: 13.4 MB / 314.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 9.61e-05/0.01848, allocations: 103.2 kB / 343.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005623/0.01904, allocations: 455.5 kB / 343.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01905, allocations: 4.688 kB / 343.7 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.01927, allocations: 238.5 kB / 344 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.01954, allocations: 45.59 kB / 344 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.02098, allocations: 0.8409 MB / 344.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.312e-05/0.02107, allocations: 155.5 kB / 345 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.02113, allocations: 24.5 kB / 345 MB, free: 11.45 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02113, allocations: 0 / 345 MB, free: 11.45 MB / 314.7 MB Notification: Performance of Templates: time 0.004815/0.02595, allocations: 5.353 MB / 350.4 MB, free: 6.109 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.630618599243462]