Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.002031/0.002031, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.003113/0.003113, allocations: 194.8 kB / 23.71 MB, free: 4.406 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.501/1.501, allocations: 225.7 MB / 252.5 MB, free: 12.82 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 55.92 kB / 370.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.353, allocations: 52.17 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005141/0.3581, allocations: 2.698 MB / 425.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3599, allocations: 0.6934 MB / 426.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00034/0.3602, allocations: 4 kB / 426.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.3605, allocations: 43.52 kB / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.361, allocations: 111.2 kB / 426.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.3615, allocations: 115.8 kB / 426.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000699/0.3622, allocations: 382.5 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.3625, allocations: 87.33 kB / 427.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.3629, allocations: 159.4 kB / 427.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.3632, allocations: 143.3 kB / 427.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.896e-05/0.3633, allocations: 40 kB / 427.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.3634, allocations: 40 kB / 427.6 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3635, allocations: 83.69 kB / 427.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.3637, allocations: 131.4 kB / 427.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006483/0.3643, allocations: 425 kB / 428.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3643, allocations: 0 / 428.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.3643, allocations: 7.984 kB / 428.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.3644, allocations: 0 / 428.2 MB, free: 9.309 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001729/0.3661, allocations: 0.5848 MB / 428.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3661, allocations: 8.031 kB / 428.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.3662, allocations: 44.69 kB / 428.8 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.3668, allocations: 219.1 kB / 429.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.3668, allocations: 24.86 kB / 429.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.3669, allocations: 32.31 kB / 429.1 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008144/0.3677, allocations: 336.7 kB / 429.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.3677, allocations: 0 / 429.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.3677, allocations: 12 kB / 429.5 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3677, allocations: 4 kB / 429.5 MB, free: 7.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.3686, allocations: 273.8 kB / 429.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.3709, allocations: 1.018 MB / 430.7 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009706/0.3718, allocations: 234.5 kB / 431 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.3722, allocations: 100.8 kB / 431.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3722, allocations: 4 kB / 431.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005342/0.3728, allocations: 190.7 kB / 431.3 MB, free: 6.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.3728, allocations: 7.875 kB / 431.3 MB, free: 6.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002166/0.3749, allocations: 0.5175 MB / 431.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.375, allocations: 81.11 kB / 431.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.3754, allocations: 260.9 kB / 432.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.3754, allocations: 25.7 kB / 432.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3756, allocations: 204 kB / 432.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.3756, allocations: 43.56 kB / 432.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.493e-05/0.3757, allocations: 45.7 kB / 432.4 MB, free: 4.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3759, allocations: 338.8 kB / 432.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.3763, allocations: 133.8 kB / 432.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.3768, allocations: 239 kB / 433.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/0.3775, allocations: 307.7 kB / 433.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3775, allocations: 0 / 433.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001315/0.3788, allocations: 465.6 kB / 433.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.3789, allocations: 41.69 kB / 433.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3789, allocations: 4 kB / 433.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.3793, allocations: 64.75 kB / 434 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.3795, allocations: 55.97 kB / 434 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.382, allocations: 1.511 MB / 435.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.3823, allocations: 47.91 kB / 435.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.3823, allocations: 12 kB / 435.6 MB, free: 1.418 MB / 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 (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.0002175/0.3826, allocations: 161 kB / 435.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.3826, allocations: 19.86 kB / 435.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.3827, allocations: 17.72 kB / 435.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3827, allocations: 4 kB / 435.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3827, allocations: 0 / 435.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3827, allocations: 3.984 kB / 435.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.383, allocations: 217.1 kB / 436 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.383, allocations: 8 kB / 436 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.3832, allocations: 27.97 kB / 436.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.3834, allocations: 60.81 kB / 436.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3834, allocations: 4 kB / 436.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.3855, allocations: 1.498 MB / 437.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3856, allocations: 0 / 437.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.3869, allocations: 449.9 kB / 438.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.387, allocations: 39.8 kB / 438.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.387, allocations: 0 / 438.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.3873, allocations: 35.91 kB / 438.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.3874, allocations: 15.97 kB / 438.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.3874, allocations: 8.062 kB / 438.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.3876, allocations: 184.5 kB / 438.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3876, allocations: 0 / 438.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.388, allocations: 71.83 kB / 438.4 MB, free: 14.45 MB / 350.1 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.0001866/0.3882, allocations: 103.2 kB / 438.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.3895, allocations: 435.5 kB / 438.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3895, allocations: 0 / 438.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.39, allocations: 215.2 kB / 439.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.3904, allocations: 44.41 kB / 439.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.3941, allocations: 0.8688 MB / 440.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.3943, allocations: 146.9 kB / 440.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.3944, allocations: 22.3 kB / 440.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.3945, allocations: 19.44 kB / 440.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3945, allocations: 0 / 440.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of Templates: time 0.009677/0.4041, allocations: 4.007 MB / 444.3 MB, free: 8.578 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.902470355853438]