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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001765/0.001765, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.613/1.613, allocations: 227.7 MB / 247.2 MB, free: 10.3 MB / 206.1 MB 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.002021/0.002021, allocations: 63.89 kB / 359 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3641, allocations: 50.54 MB / 409.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.007758/0.372, allocations: 2.882 MB / 412.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.3747, allocations: 0.7478 MB / 413.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005332/0.3754, allocations: 4 kB / 413.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.3758, allocations: 51.56 kB / 413.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006678/0.3765, allocations: 99.19 kB / 413.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007321/0.3772, allocations: 115.8 kB / 413.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.3784, allocations: 386.5 kB / 413.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000431/0.3788, allocations: 127.2 kB / 414 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006839/0.3795, allocations: 151.4 kB / 414.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004412/0.38, allocations: 175.2 kB / 414.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.3801, allocations: 40 kB / 414.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.3803, allocations: 36 kB / 414.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.3804, allocations: 71.83 kB / 414.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003715/0.3808, allocations: 167.2 kB / 414.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007774/0.3816, allocations: 434.2 kB / 415 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3816, allocations: 0 / 415 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3816, allocations: 0 / 415 MB, free: 11.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.3817, allocations: 0 / 415 MB, free: 11.95 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.002178/0.3838, allocations: 0.6706 MB / 415.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.3839, allocations: 8.031 kB / 415.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.3841, allocations: 32.75 kB / 415.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.385, allocations: 288.8 kB / 416 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.3851, allocations: 20.94 kB / 416 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/0.3852, allocations: 28.36 kB / 416.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.3864, allocations: 319.9 kB / 416.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.3864, allocations: 0 / 416.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.3864, allocations: 12 kB / 416.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.3865, allocations: 8 kB / 416.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.3877, allocations: 274.1 kB / 416.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/0.3914, allocations: 1.173 MB / 417.8 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.3928, allocations: 242.5 kB / 418.1 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.3933, allocations: 100.8 kB / 418.2 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.3933, allocations: 8 kB / 418.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007469/0.3941, allocations: 165 kB / 418.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 3.287e-06/0.3941, allocations: 4 kB / 418.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.003007/0.3971, allocations: 0.6009 MB / 419 MB, free: 7.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.3973, allocations: 85.05 kB / 419 MB, free: 7.672 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/0.398, allocations: 262.6 kB / 419.3 MB, free: 7.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.3982, allocations: 29.7 kB / 419.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.3984, allocations: 191.9 kB / 419.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.451e-05/0.3985, allocations: 47.64 kB / 419.6 MB, free: 7.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.3987, allocations: 45.7 kB / 419.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000241/0.399, allocations: 334.8 kB / 419.9 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000612/0.3996, allocations: 104.2 kB / 420 MB, free: 6.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005638/0.4002, allocations: 199.5 kB / 420.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.4012, allocations: 298.8 kB / 420.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4012, allocations: 0 / 420.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001735/0.403, allocations: 447.8 kB / 421 MB, free: 5.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.403, allocations: 41.64 kB / 421 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.4031, allocations: 0 / 421 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/0.4035, allocations: 72.81 kB / 421.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.4039, allocations: 51.95 kB / 421.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.4073, allocations: 1.644 MB / 422.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.4078, allocations: 55.89 kB / 422.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.4079, allocations: 8 kB / 422.8 MB, free: 3.605 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.0003133/0.4083, allocations: 153.7 kB / 423 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.4084, allocations: 27.8 kB / 423 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.4086, allocations: 21.7 kB / 423 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4086, allocations: 8 kB / 423 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4086, allocations: 0 / 423 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4086, allocations: 0 / 423 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.4091, allocations: 313.4 kB / 423.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4092, allocations: 0 / 423.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.4094, allocations: 31.97 kB / 423.4 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.4098, allocations: 60.81 kB / 423.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.4098, allocations: 8 kB / 423.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/0.4128, allocations: 1.621 MB / 425.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4128, allocations: 0 / 425.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.4147, allocations: 457.5 kB / 425.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.4149, allocations: 100.9 kB / 425.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.415, allocations: 7.984 kB / 425.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.4153, allocations: 32.03 kB / 425.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.4154, allocations: 15.98 kB / 425.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.4154, allocations: 3.984 kB / 425.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000309/0.4157, allocations: 190 kB / 425.8 MB, free: 352 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4157, allocations: 0 / 425.8 MB, free: 352 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000547/0.4163, allocations: 71.84 kB / 425.9 MB, free: 280 kB / 334.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.0002129/0.4165, allocations: 107.2 kB / 426 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.4179, allocations: 414.2 kB / 426.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.418, allocations: 0 / 426.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006019/0.4186, allocations: 214.5 kB / 426.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.419, allocations: 52.72 kB / 426.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004783/0.4238, allocations: 0.8793 MB / 427.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.4244, allocations: 0.7518 MB / 428.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.4246, allocations: 26.3 kB / 428.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.4247, allocations: 27.42 kB / 428.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4247, allocations: 0 / 428.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of Templates: time 0.01196/0.4367, allocations: 3.719 MB / 432.1 MB, free: 10.03 MB / 350.1 MB 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/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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches