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.001437/0.001437, allocations: 109.4 kB / 17.06 MB, free: 6.129 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.001671/0.001671, allocations: 192 kB / 18 MB, free: 5.207 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.489/1.489, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 51.94 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3773, allocations: 49.43 MB / 400.8 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004631/0.382, allocations: 2.862 MB / 403.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3834, allocations: 0.7245 MB / 404.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.3835, allocations: 4 kB / 404.4 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.3836, allocations: 43.58 kB / 404.4 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.3839, allocations: 107.2 kB / 404.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.3841, allocations: 111.8 kB / 404.6 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.3845, allocations: 390.5 kB / 405 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.3847, allocations: 119.2 kB / 405.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.385, allocations: 163.4 kB / 405.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.3852, allocations: 155.4 kB / 405.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.3852, allocations: 40 kB / 405.5 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.056e-05/0.3853, allocations: 40 kB / 405.5 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.3854, allocations: 75.69 kB / 405.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.3855, allocations: 171.2 kB / 405.7 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.386, allocations: 423.7 kB / 406.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.386, allocations: 0 / 406.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.386, allocations: 0 / 406.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.386, allocations: 0 / 406.1 MB, free: 3.469 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.0014/0.3874, allocations: 0.6565 MB / 406.8 MB, free: 2.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3875, allocations: 12.03 kB / 406.8 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.463e-05/0.3876, allocations: 36.55 kB / 406.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.3881, allocations: 292.6 kB / 407.1 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.3882, allocations: 20.94 kB / 407.2 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.3882, allocations: 24.38 kB / 407.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.3889, allocations: 319.9 kB / 407.5 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3889, allocations: 4 kB / 407.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.389, allocations: 8 kB / 407.5 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.389, allocations: 8 kB / 407.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.3898, allocations: 274 kB / 407.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.3919, allocations: 1.161 MB / 408.9 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009352/0.3929, allocations: 246.6 kB / 409.2 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.3932, allocations: 104.8 kB / 409.3 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3933, allocations: 3.938 kB / 409.3 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/0.3938, allocations: 172.9 kB / 409.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.884e-06/0.3938, allocations: 0 / 409.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002239/0.3961, allocations: 0.593 MB / 410.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.3962, allocations: 88.98 kB / 410.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.3965, allocations: 262.5 kB / 410.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.3965, allocations: 33.69 kB / 410.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3967, allocations: 199.5 kB / 410.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.3967, allocations: 35.45 kB / 410.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.3968, allocations: 49.7 kB / 410.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3969, allocations: 338.8 kB / 411 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.3973, allocations: 96.16 kB / 411.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.3977, allocations: 192.2 kB / 411.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006953/0.3984, allocations: 303.7 kB / 411.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3984, allocations: 0 / 411.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001174/0.3996, allocations: 443.7 kB / 412 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.3997, allocations: 37.64 kB / 412.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3997, allocations: 12.05 kB / 412.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.4001, allocations: 56.83 kB / 412.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.4004, allocations: 55.89 kB / 412.2 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.4027, allocations: 1.644 MB / 413.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.4031, allocations: 47.72 kB / 413.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.4031, allocations: 8 kB / 413.9 MB, free: 11.16 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.0002071/0.4033, allocations: 160.8 kB / 414.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.4034, allocations: 15.81 kB / 414.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.4035, allocations: 25.7 kB / 414.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4035, allocations: 0 / 414.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4035, allocations: 0 / 414.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4035, allocations: 3.984 kB / 414.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.4038, allocations: 317.3 kB / 414.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4038, allocations: 3.938 kB / 414.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.404, allocations: 31.97 kB / 414.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002424/0.4043, allocations: 64.81 kB / 414.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.4043, allocations: 4 kB / 414.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.4064, allocations: 1.617 MB / 416.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4064, allocations: 7.969 kB / 416.1 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.4078, allocations: 449.4 kB / 416.6 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.4079, allocations: 104.8 kB / 416.7 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.408, allocations: 15.88 kB / 416.7 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.4082, allocations: 27.97 kB / 416.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.4083, allocations: 23.97 kB / 416.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.4083, allocations: 4 kB / 416.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.4085, allocations: 186 kB / 416.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4085, allocations: 0 / 416.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000371/0.4089, allocations: 75.84 kB / 417 MB, free: 7.812 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.0001849/0.4091, allocations: 100.7 kB / 417.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.4102, allocations: 409.9 kB / 417.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4102, allocations: 0 / 417.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.4107, allocations: 223 kB / 417.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.411, allocations: 48.47 kB / 417.8 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.4145, allocations: 0.8722 MB / 418.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.4149, allocations: 0.748 MB / 419.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.4151, allocations: 30.28 kB / 419.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.4151, allocations: 19.44 kB / 419.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of SimCode: time 4.117e-06/0.4152, allocations: 0 / 419.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of Templates: time 0.008704/0.4239, allocations: 3.709 MB / 423.2 MB, free: 1.609 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