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.001864/0.001864, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002024/0.002024, allocations: 207.2 kB / 24.47 MB, free: 3.977 MB / 14.72 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.554/1.554, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 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 0.001598/0.001598, allocations: 39.94 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3525, allocations: 53.37 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005482/0.358, allocations: 2.715 MB / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3598, allocations: 0.7129 MB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.36, allocations: 7.938 kB / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.3602, allocations: 51.56 kB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.3605, allocations: 95.19 kB / 435.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.361, allocations: 123.8 kB / 436.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.3616, allocations: 390.5 kB / 436.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.3619, allocations: 91.33 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.3623, allocations: 163.4 kB / 436.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.3625, allocations: 167.3 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-05/0.3626, allocations: 40 kB / 436.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.102e-05/0.3627, allocations: 36 kB / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.804e-05/0.3628, allocations: 75.7 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.363, allocations: 139.4 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007145/0.3637, allocations: 429.3 kB / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3637, allocations: 0 / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3637, allocations: 4 kB / 437.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3637, allocations: 0 / 437.6 MB, free: 1.488 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.001705/0.3654, allocations: 0.5926 MB / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.3655, allocations: 8.031 kB / 438.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.3656, allocations: 36.73 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006144/0.3662, allocations: 234.9 kB / 438.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.3662, allocations: 20.88 kB / 438.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.3663, allocations: 28.36 kB / 438.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008256/0.3671, allocations: 348.7 kB / 438.8 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3672, allocations: 0 / 438.8 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.3672, allocations: 8 kB / 438.8 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.3672, allocations: 8 kB / 438.8 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008445/0.368, allocations: 273.8 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.3703, allocations: 1.002 MB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/0.3712, allocations: 238.5 kB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.3716, allocations: 96.78 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.3716, allocations: 4 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.3721, allocations: 198.7 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3721, allocations: 0 / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002165/0.3743, allocations: 0.5136 MB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.3744, allocations: 81.11 kB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.3748, allocations: 264.9 kB / 441.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.3748, allocations: 29.7 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.375, allocations: 200 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.3751, allocations: 47.62 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3752, allocations: 49.66 kB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.3754, allocations: 334.8 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.3758, allocations: 129.9 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.3764, allocations: 250.9 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.3772, allocations: 291.8 kB / 442.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3772, allocations: 0 / 442.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00139/0.3785, allocations: 477.5 kB / 443.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.3786, allocations: 33.7 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3786, allocations: 4 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.379, allocations: 68.81 kB / 443.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.3793, allocations: 59.89 kB / 443.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.3821, allocations: 1.51 MB / 444.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.3824, allocations: 55.73 kB / 445 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.3825, allocations: 11.98 kB / 445 MB, free: 9.578 MB / 350.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.000237/0.3827, allocations: 155.1 kB / 445.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.3827, allocations: 23.92 kB / 445.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.3828, allocations: 25.7 kB / 445.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3828, allocations: 0 / 445.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3828, allocations: 0 / 445.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3828, allocations: 0 / 445.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.3831, allocations: 225.1 kB / 445.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3831, allocations: 0 / 445.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.3833, allocations: 27.97 kB / 445.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.3836, allocations: 64.81 kB / 445.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3836, allocations: 0 / 445.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.3859, allocations: 1.502 MB / 447 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3859, allocations: 0 / 447 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.3874, allocations: 457.8 kB / 447.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.3874, allocations: 23.88 kB / 447.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.3875, allocations: 8.062 kB / 447.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.3877, allocations: 35.91 kB / 447.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.3878, allocations: 19.91 kB / 447.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.3878, allocations: 8 kB / 447.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002339/0.3881, allocations: 176.5 kB / 447.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3881, allocations: 0 / 447.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004086/0.3885, allocations: 75.83 kB / 447.8 MB, free: 6.613 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.0001862/0.3886, allocations: 103.2 kB / 447.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3898, allocations: 443.6 kB / 448.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3898, allocations: 0 / 448.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.3902, allocations: 202.6 kB / 448.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3906, allocations: 44.91 kB / 448.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.3942, allocations: 0.8727 MB / 449.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.3944, allocations: 142.9 kB / 449.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.3945, allocations: 22.28 kB / 449.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.3946, allocations: 27.44 kB / 449.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3946, allocations: 0 / 449.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of Templates: time 0.009354/0.4039, allocations: 4.069 MB / 453.7 MB, free: 0.6641 MB / 350.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/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: 5.211654554994311]