Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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.001333/0.001333, allocations: 109.4 kB / 18.4 MB, free: 4.699 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.001259/0.001259, allocations: 185.3 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 56.36 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, allocations: 46.62 MB / 375.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004509/0.1077, allocations: 2.599 MB / 378.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1094, allocations: 0.7057 MB / 379.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.1097, allocations: 4 kB / 379.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.11, allocations: 39.58 kB / 379.2 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.1104, allocations: 83.33 kB / 379.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.1108, allocations: 95.81 kB / 379.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005092/0.1113, allocations: 334.5 kB / 379.7 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.1115, allocations: 80.7 kB / 379.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.1118, allocations: 127.5 kB / 379.9 MB, free: 488 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.1121, allocations: 143.4 kB / 380 MB, free: 344 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.503e-05/0.1122, allocations: 28 kB / 380.1 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.696e-05/0.1123, allocations: 28 kB / 380.1 MB, free: 288 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.1124, allocations: 71.69 kB / 380.2 MB, free: 216 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.1125, allocations: 123.4 kB / 380.3 MB, free: 92 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2315/0.344, allocations: 301.9 kB / 380.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3441, allocations: 0 / 380.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3441, allocations: 1.688 kB / 380.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.3441, allocations: 0 / 380.6 MB, free: 10.43 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001276/0.3454, allocations: 0.6122 MB / 381.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3455, allocations: 9.344 kB / 381.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.3456, allocations: 35.33 kB / 381.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.346, allocations: 263.6 kB / 381.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.346, allocations: 19.84 kB / 381.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.3461, allocations: 19.38 kB / 381.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.3467, allocations: 234.5 kB / 381.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3467, allocations: 3.938 kB / 381.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.3467, allocations: 9.031 kB / 381.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.3467, allocations: 7.125 kB / 381.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.3475, allocations: 243.9 kB / 382 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.3489, allocations: 0.8114 MB / 382.8 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.3497, allocations: 227 kB / 383.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.3501, allocations: 98.06 kB / 383.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3501, allocations: 1.531 kB / 383.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004277/0.3506, allocations: 163.1 kB / 383.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.3506, allocations: 0 / 383.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001948/0.3525, allocations: 0.5375 MB / 383.8 MB, free: 9.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.3526, allocations: 86.48 kB / 383.9 MB, free: 8.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.3529, allocations: 238.7 kB / 384.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3529, allocations: 31.27 kB / 384.2 MB, free: 8.828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.353, allocations: 165.8 kB / 384.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.3531, allocations: 40.17 kB / 384.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.3532, allocations: 45.78 kB / 384.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.3532, allocations: 333.8 kB / 384.8 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.3536, allocations: 94.59 kB / 384.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.3539, allocations: 149.2 kB / 385 MB, free: 8.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.3545, allocations: 255.2 kB / 385.3 MB, free: 8.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3545, allocations: 0 / 385.3 MB, free: 8.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001048/0.3556, allocations: 381.3 kB / 385.6 MB, free: 8.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.3556, allocations: 33.19 kB / 385.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3556, allocations: 2.125 kB / 385.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004716/0.3561, allocations: 94.91 kB / 385.8 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.3563, allocations: 45.39 kB / 385.8 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.3578, allocations: 1.562 MB / 387.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.3581, allocations: 41.11 kB / 387.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3582, allocations: 7.547 kB / 387.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003234/0.3585, allocations: 173.4 kB / 387.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002825/0.3588, allocations: 141.8 kB / 387.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004886/0.3593, allocations: 233.8 kB / 387.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.3593, allocations: 0.9375 kB / 387.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006833/0.36, allocations: 304.1 kB / 388.2 MB, free: 6.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.36, allocations: 37.41 kB / 388.3 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.36, allocations: 2.938 kB / 388.3 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-05/0.3601, allocations: 24.77 kB / 388.3 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3603, allocations: 47.92 kB / 388.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007456/0.3611, allocations: 1.542 MB / 389.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.3613, allocations: 32.86 kB / 389.9 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.3614, allocations: 6.438 kB / 389.9 MB, free: 4.789 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.3615, allocations: 210.7 kB / 390.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.3615, allocations: 25.94 kB / 390.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.3616, allocations: 24.86 kB / 390.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3616, allocations: 2.625 kB / 390.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3616, allocations: 0 / 390.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3616, allocations: 1.125 kB / 390.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.3619, allocations: 283.8 kB / 390.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3619, allocations: 3.5 kB / 390.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.3621, allocations: 29.33 kB / 390.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.3623, allocations: 54.12 kB / 390.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3623, allocations: 1.859 kB / 390.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.3636, allocations: 1.55 MB / 392.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3636, allocations: 0 / 392.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3647, allocations: 402.3 kB / 392.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.3648, allocations: 96.33 kB / 392.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.3648, allocations: 6.938 kB / 392.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.365, allocations: 23.75 kB / 392.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/0.3651, allocations: 22.11 kB / 392.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3651, allocations: 7.781 kB / 392.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.3653, allocations: 172.4 kB / 392.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.3653, allocations: 0 / 392.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005057/0.3658, allocations: 112.1 kB / 392.9 MB, free: 2.449 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001173/0.366, allocations: 104.2 kB / 393 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.3672, allocations: 0.6539 MB / 393.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3672, allocations: 4.062 kB / 393.7 MB, free: 1.922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.3676, allocations: 214.2 kB / 393.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.368, allocations: 49.97 kB / 393.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3691, allocations: 0.5173 MB / 394.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.3693, allocations: 0.7458 MB / 395.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.3693, allocations: 23.89 kB / 395.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3693, allocations: 0 / 395.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of Templates: time 0.007866/0.3772, allocations: 3.977 MB / 399.2 MB, free: 312 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches