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.001161/0.001161, allocations: 115.3 kB / 17.06 MB, free: 6 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.001257/0.001257, allocations: 196 kB / 18 MB, free: 5.078 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.542/1.542, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 55.91 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4087, allocations: 49.42 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004636/0.4134, allocations: 2.874 MB / 403.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.4149, allocations: 0.7206 MB / 404.3 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.4151, allocations: 4 kB / 404.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.4153, allocations: 43.52 kB / 404.4 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.4155, allocations: 107.2 kB / 404.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.4159, allocations: 115.8 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.4164, allocations: 390.5 kB / 405 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.4167, allocations: 119.3 kB / 405.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.4169, allocations: 155.4 kB / 405.3 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.4172, allocations: 163.3 kB / 405.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.4172, allocations: 40 kB / 405.5 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.914e-05/0.4173, allocations: 40 kB / 405.5 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.4174, allocations: 75.69 kB / 405.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.4176, allocations: 171.2 kB / 405.7 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004403/0.418, allocations: 427.7 kB / 406.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.418, allocations: 0 / 406.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4181, allocations: 0 / 406.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.4181, allocations: 0 / 406.2 MB, free: 3.449 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.001333/0.4194, allocations: 0.6565 MB / 406.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4195, allocations: 15.89 kB / 406.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.4195, allocations: 32.56 kB / 406.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.42, allocations: 288.6 kB / 407.1 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.42, allocations: 20.94 kB / 407.2 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.4201, allocations: 24.38 kB / 407.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.4208, allocations: 323.9 kB / 407.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4208, allocations: 0 / 407.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.4208, allocations: 8 kB / 407.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.4209, allocations: 8 kB / 407.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.4217, allocations: 274 kB / 407.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.4238, allocations: 1.161 MB / 408.9 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009038/0.4247, allocations: 250.5 kB / 409.2 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.425, allocations: 100.8 kB / 409.3 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.4251, allocations: 7.922 kB / 409.3 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/0.4256, allocations: 172.9 kB / 409.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.4256, allocations: 0 / 409.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002004/0.4276, allocations: 0.5853 MB / 410 MB, free: 15.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.632e-05/0.4277, allocations: 92.98 kB / 410.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.428, allocations: 262.5 kB / 410.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.4281, allocations: 37.62 kB / 410.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.4282, allocations: 195.6 kB / 410.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.4283, allocations: 43.38 kB / 410.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.4284, allocations: 45.7 kB / 410.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4285, allocations: 338.8 kB / 411 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.4289, allocations: 100.2 kB / 411.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.4293, allocations: 192.2 kB / 411.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.4299, allocations: 307.1 kB / 411.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4299, allocations: 4 kB / 411.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001121/0.4311, allocations: 439.7 kB / 412.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/0.4311, allocations: 37.64 kB / 412.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4312, allocations: 4 kB / 412.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003879/0.4315, allocations: 64.88 kB / 412.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.4318, allocations: 59.89 kB / 412.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.4342, allocations: 1.633 MB / 413.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.4346, allocations: 51.81 kB / 413.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.4346, allocations: 8 kB / 413.9 MB, free: 11.14 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.0002094/0.4348, allocations: 153.7 kB / 414.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.4349, allocations: 15.81 kB / 414.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.4349, allocations: 29.69 kB / 414.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4349, allocations: 0 / 414.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4349, allocations: 0 / 414.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.4349, allocations: 7.984 kB / 414.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.4353, allocations: 313.3 kB / 414.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4353, allocations: 0 / 414.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.4355, allocations: 31.97 kB / 414.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.4357, allocations: 68.75 kB / 414.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.4357, allocations: 4 kB / 414.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.4377, allocations: 1.613 MB / 416.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4377, allocations: 4.031 kB / 416.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.439, allocations: 455.6 kB / 416.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.4391, allocations: 100.8 kB / 416.7 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.4391, allocations: 8 kB / 416.7 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.4393, allocations: 24.03 kB / 416.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.714e-05/0.4394, allocations: 27.97 kB / 416.7 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4395, allocations: 7.938 kB / 416.8 MB, free: 8.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002168/0.4397, allocations: 186 kB / 416.9 MB, free: 7.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4397, allocations: 0 / 416.9 MB, free: 7.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.44, allocations: 71.84 kB / 417 MB, free: 7.809 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.0001808/0.4402, allocations: 103.2 kB / 417.1 MB, free: 7.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009928/0.4412, allocations: 414.3 kB / 417.5 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.4413, allocations: 4.125 kB / 417.5 MB, free: 7.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.4417, allocations: 222.5 kB / 417.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.4421, allocations: 48.47 kB / 417.8 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.4453, allocations: 0.8645 MB / 418.6 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.4456, allocations: 0.7518 MB / 419.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.4457, allocations: 30.27 kB / 419.4 MB, free: 5.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.4458, allocations: 23.44 kB / 419.4 MB, free: 5.262 MB / 334.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4458, allocations: 3.938 kB / 419.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of Templates: time 0.008141/0.4539, allocations: 3.702 MB / 423.2 MB, free: 1.594 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