Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001572/0.001572, allocations: 113 kB / 21.17 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 218.7 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.84 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3053, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004837/0.3101, allocations: 2.917 MB / 435 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.3118, allocations: 0.7635 MB / 435.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.312, allocations: 4 kB / 435.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.3122, allocations: 43.58 kB / 435.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.3125, allocations: 99.19 kB / 435.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.3128, allocations: 119.8 kB / 436 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005147/0.3133, allocations: 394.5 kB / 436.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.3136, allocations: 87.27 kB / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.3139, allocations: 159.4 kB / 436.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.3142, allocations: 167.2 kB / 436.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.3142, allocations: 40 kB / 436.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.928e-05/0.3143, allocations: 39.94 kB / 436.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.3144, allocations: 75.75 kB / 437 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.3146, allocations: 163.2 kB / 437.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.3151, allocations: 435.8 kB / 437.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3151, allocations: 4 kB / 437.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3151, allocations: 0 / 437.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3151, allocations: 0 / 437.5 MB, free: 1.883 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.001506/0.3166, allocations: 0.6641 MB / 438.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.3167, allocations: 12.03 kB / 438.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.91e-05/0.3168, allocations: 32.75 kB / 438.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.3173, allocations: 288.8 kB / 438.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.3173, allocations: 20.94 kB / 438.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.3174, allocations: 24.38 kB / 438.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/0.3181, allocations: 323.9 kB / 438.9 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3181, allocations: 0 / 438.9 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.3182, allocations: 8 kB / 438.9 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.3182, allocations: 8 kB / 438.9 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008157/0.319, allocations: 274 kB / 439.2 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.3212, allocations: 1.177 MB / 440.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009404/0.3221, allocations: 234.5 kB / 440.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.3225, allocations: 100.8 kB / 440.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3225, allocations: 0 / 440.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004988/0.323, allocations: 169 kB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.323, allocations: 0 / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002194/0.3252, allocations: 0.5927 MB / 441.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.3253, allocations: 85.05 kB / 441.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.3256, allocations: 266.6 kB / 441.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.3256, allocations: 25.7 kB / 441.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.3258, allocations: 207.9 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.3259, allocations: 43.64 kB / 442.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.326, allocations: 41.7 kB / 442.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3261, allocations: 334.8 kB / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.3265, allocations: 104.2 kB / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.3269, allocations: 199.5 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.3277, allocations: 295.8 kB / 443 MB, free: 12.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3277, allocations: 0 / 443 MB, free: 12.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001282/0.329, allocations: 447.8 kB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/0.329, allocations: 37.64 kB / 443.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3291, allocations: 0 / 443.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.3294, allocations: 68.88 kB / 443.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.3297, allocations: 59.89 kB / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.3321, allocations: 1.636 MB / 445.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.3324, allocations: 51.88 kB / 445.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.3324, allocations: 15.94 kB / 445.3 MB, free: 9.559 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.0001913/0.3326, allocations: 152.8 kB / 445.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.3326, allocations: 19.86 kB / 445.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.203e-05/0.3327, allocations: 29.7 kB / 445.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3327, allocations: 4 kB / 445.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.3327, allocations: 0 / 445.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3327, allocations: 3.984 kB / 445.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.333, allocations: 313.4 kB / 445.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.333, allocations: 0 / 445.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.3332, allocations: 31.97 kB / 445.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002274/0.3335, allocations: 60.81 kB / 445.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3335, allocations: 8 kB / 445.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.3356, allocations: 1.63 MB / 447.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3356, allocations: 0 / 447.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.337, allocations: 453.9 kB / 448 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.3371, allocations: 104.9 kB / 448.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.3371, allocations: 4 kB / 448.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.3374, allocations: 27.97 kB / 448.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.3375, allocations: 24.03 kB / 448.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.3375, allocations: 0 / 448.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.3377, allocations: 186 kB / 448.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3377, allocations: 4 kB / 448.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.338, allocations: 75.83 kB / 448.4 MB, free: 6.223 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.0001937/0.3382, allocations: 99.25 kB / 448.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3392, allocations: 402.4 kB / 448.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.3392, allocations: 4 kB / 448.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004484/0.3397, allocations: 210.7 kB / 449.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.34, allocations: 51.53 kB / 449.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.3436, allocations: 0.9309 MB / 450.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.344, allocations: 0.748 MB / 450.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.3441, allocations: 19.44 kB / 450.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3441, allocations: 0 / 450.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of Templates: time 0.007571/0.3517, allocations: 4.573 MB / 455.4 MB, free: 15.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.380633917637169]