Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.002464/0.002464, allocations: 91.62 kB / 20.96 MB, free: 3.461 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.002836/0.002836, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 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 1.728/1.728, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 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.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.015e-06/3.015e-06, allocations: 0 / 272.4 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.43e-05, allocations: 2.312 kB / 272.4 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004723/0.004758, allocations: 2.842 MB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.00636, allocations: 0.7362 MB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.006518, allocations: 7.938 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.006693, allocations: 39.58 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.006927, allocations: 111.1 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.007262, allocations: 119.7 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.007789, allocations: 406.3 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.008005, allocations: 79.67 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/0.008455, allocations: 235.4 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.008694, allocations: 131.6 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.398e-05/0.008768, allocations: 44 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.561e-05/0.008844, allocations: 36 kB / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.008934, allocations: 75.75 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.009101, allocations: 123.7 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005912/0.009692, allocations: 430.7 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.009695, allocations: 0 / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.009697, allocations: 0 / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.009705, allocations: 3.984 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001356/0.01106, allocations: 0.6922 MB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.0111, allocations: 12.03 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.01123, allocations: 48.75 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.01164, allocations: 241 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.01168, allocations: 20.88 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.01173, allocations: 20.38 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.01245, allocations: 338.7 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.01246, allocations: 192 / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.0125, allocations: 24.23 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.01251, allocations: 7.938 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.01317, allocations: 229.9 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.01533, allocations: 1.177 MB / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.01606, allocations: 211 kB / 280.7 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.01632, allocations: 83.64 kB / 280.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.01634, allocations: 0 / 280.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004359/0.01678, allocations: 190 kB / 281 MB, free: 8.934 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.01678, allocations: 0 / 281 MB, free: 8.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.001583/0.01836, allocations: 400.9 kB / 281.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.01844, allocations: 81.11 kB / 281.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.01887, allocations: 356.2 kB / 281.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.0189, allocations: 25.7 kB / 281.9 MB, free: 8.039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.01913, allocations: 254.8 kB / 282.1 MB, free: 7.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.01919, allocations: 39.69 kB / 282.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.01931, allocations: 71.31 kB / 282.2 MB, free: 7.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003221/0.01963, allocations: 0.5196 MB / 282.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.01993, allocations: 109.9 kB / 282.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.02039, allocations: 271.7 kB / 283.1 MB, free: 6.684 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006387/0.02103, allocations: 308.6 kB / 283.4 MB, free: 6.328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.02103, allocations: 4 kB / 283.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001051/0.02208, allocations: 428.3 kB / 283.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.02213, allocations: 33.7 kB / 283.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.02214, allocations: 0 / 283.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.02255, allocations: 83.7 kB / 283.9 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.02277, allocations: 51.91 kB / 284 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.0253, allocations: 1.943 MB / 285.9 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.02559, allocations: 35.94 kB / 286 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.02562, allocations: 12 kB / 286 MB, free: 3.598 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 (25): * Single equations (assignments): 23 * 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.0002155/0.02584, allocations: 195.3 kB / 286.2 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.0259, allocations: 35.78 kB / 286.2 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.389e-05/0.02596, allocations: 21.78 kB / 286.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.02596, allocations: 0 / 286.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.02596, allocations: 0 / 286.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.02597, allocations: 3.984 kB / 286.2 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.02633, allocations: 268.5 kB / 286.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.02633, allocations: 0 / 286.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.02649, allocations: 23.98 kB / 286.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003257/0.02682, allocations: 79.58 kB / 286.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.02684, allocations: 7.984 kB / 286.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.02912, allocations: 1.92 MB / 288.5 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.02913, allocations: 0 / 288.5 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.0302, allocations: 391.7 kB / 288.9 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.03025, allocations: 23.8 kB / 288.9 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.03029, allocations: 4 kB / 288.9 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.03047, allocations: 32 kB / 289 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.03055, allocations: 15.97 kB / 289 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.03057, allocations: 7.938 kB / 289 MB, free: 400 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002605/0.03083, allocations: 233.1 kB / 289.2 MB, free: 164 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03083, allocations: 0 / 289.2 MB, free: 164 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.0312, allocations: 75.84 kB / 289.3 MB, free: 88 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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 (11): * Single equations (assignments): 8 * 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.0002004/0.0314, allocations: 103.2 kB / 289.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.03241, allocations: 473.5 kB / 289.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.03242, allocations: 0 / 289.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.03287, allocations: 273.4 kB / 290.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.03322, allocations: 41.11 kB / 290.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.03568, allocations: 0.6511 MB / 290.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.03586, allocations: 150.8 kB / 291 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.815e-05/0.03596, allocations: 22.3 kB / 291 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.03603, allocations: 24.5 kB / 291 MB, free: 14.26 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03603, allocations: 0 / 291 MB, free: 14.26 MB / 282.7 MB Notification: Performance of Templates: time 0.01186/0.04789, allocations: 3.796 MB / 294.8 MB, free: 10.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.731779168010689]