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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002234/0.002233, allocations: 112.8 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00265/0.00265, allocations: 196 kB / 18 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008891/0.0008892, allocations: 51.92 kB / 351.3 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4011, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.006881/0.4081, allocations: 2.868 MB / 403.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.4101, allocations: 0.7167 MB / 404.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.4106, allocations: 4 kB / 404.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.411, allocations: 51.5 kB / 404.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.4115, allocations: 95.19 kB / 404.5 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.4121, allocations: 123.8 kB / 404.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005453/0.4126, allocations: 386.6 kB / 405 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.413, allocations: 123.2 kB / 405.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.4132, allocations: 155.4 kB / 405.2 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.4135, allocations: 163.3 kB / 405.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.335e-05/0.4135, allocations: 40 kB / 405.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.4136, allocations: 36 kB / 405.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.851e-05/0.4137, allocations: 79.69 kB / 405.6 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.4139, allocations: 171.2 kB / 405.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005791/0.4145, allocations: 422.2 kB / 406.1 MB, free: 3.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4145, allocations: 0 / 406.1 MB, free: 3.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4145, allocations: 0 / 406.1 MB, free: 3.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.4146, allocations: 0 / 406.1 MB, free: 3.438 MB / 318.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.001434/0.416, allocations: 0.6602 MB / 406.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4161, allocations: 11.89 kB / 406.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.672e-05/0.4162, allocations: 48.7 kB / 406.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.4167, allocations: 284.8 kB / 407.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.4167, allocations: 20.94 kB / 407.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.4168, allocations: 24.38 kB / 407.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.4174, allocations: 319.9 kB / 407.5 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.4175, allocations: 4 kB / 407.5 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.4175, allocations: 8 kB / 407.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.4175, allocations: 11.94 kB / 407.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/0.4183, allocations: 270.1 kB / 407.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.4204, allocations: 1.177 MB / 409 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/0.4213, allocations: 246.5 kB / 409.2 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.4217, allocations: 104.8 kB / 409.3 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.4217, allocations: 0 / 409.3 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004843/0.4222, allocations: 169 kB / 409.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 3.166e-06/0.4222, allocations: 0 / 409.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002051/0.4243, allocations: 0.5966 MB / 410.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.4244, allocations: 88.98 kB / 410.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.4247, allocations: 270.6 kB / 410.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.4247, allocations: 25.7 kB / 410.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.4249, allocations: 199.9 kB / 410.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.425, allocations: 43.69 kB / 410.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4251, allocations: 49.66 kB / 410.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.4253, allocations: 330.8 kB / 411 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.4256, allocations: 104.2 kB / 411.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.4261, allocations: 192.2 kB / 411.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.4268, allocations: 303.8 kB / 411.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4268, allocations: 3.938 kB / 411.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001307/0.4281, allocations: 447.8 kB / 412.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.4282, allocations: 37.64 kB / 412.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.4282, allocations: 4 kB / 412.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004033/0.4287, allocations: 64.88 kB / 412.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.4289, allocations: 55.91 kB / 412.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.4314, allocations: 1.631 MB / 413.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.4318, allocations: 47.95 kB / 413.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.4318, allocations: 19.98 kB / 413.9 MB, free: 11.1 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.0002227/0.4321, allocations: 149.7 kB / 414.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.4321, allocations: 23.84 kB / 414.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.4322, allocations: 29.7 kB / 414.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4322, allocations: 0 / 414.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4322, allocations: 0 / 414.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4322, allocations: 4 kB / 414.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.4326, allocations: 317.3 kB / 414.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4326, allocations: 0 / 414.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.4328, allocations: 35.97 kB / 414.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/0.433, allocations: 64.81 kB / 414.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4331, allocations: 0 / 414.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.4351, allocations: 1.625 MB / 416.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4351, allocations: 3.938 kB / 416.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.4365, allocations: 449.5 kB / 416.6 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.4367, allocations: 104.9 kB / 416.7 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.4367, allocations: 4 kB / 416.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.4369, allocations: 31.95 kB / 416.7 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.4371, allocations: 20.05 kB / 416.8 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.4371, allocations: 4 kB / 416.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.4373, allocations: 194 kB / 417 MB, free: 7.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4374, allocations: 0 / 417 MB, free: 7.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.4378, allocations: 63.89 kB / 417 MB, free: 7.766 MB / 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.0002108/0.438, allocations: 111.2 kB / 417.1 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.4391, allocations: 410.3 kB / 417.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4391, allocations: 128 / 417.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.4396, allocations: 218.6 kB / 417.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.44, allocations: 58.66 kB / 417.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.4436, allocations: 0.8755 MB / 418.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.4441, allocations: 0.7518 MB / 419.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.4442, allocations: 22.3 kB / 419.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.4443, allocations: 23.44 kB / 419.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of SimCode: time 4.158e-06/0.4443, allocations: 4 kB / 419.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of Templates: time 0.00923/0.4535, allocations: 3.708 MB / 423.2 MB, free: 1.539 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (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) 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) Reference file matches