Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001374, allocations: 175 kB / 17.36 MB, free: 4.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009019/0.000902, allocations: 86.38 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004134/0.0004131, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2732, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002386/0.2756, allocations: 2.214 MB / 378.8 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2768, allocations: 0.7573 MB / 379.6 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.2769, allocations: 8.438 kB / 379.6 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.277, allocations: 27.14 kB / 379.6 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.2772, allocations: 67.41 kB / 379.7 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.2774, allocations: 86.34 kB / 379.8 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.2778, allocations: 304.5 kB / 380.1 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.278, allocations: 67.08 kB / 380.1 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.2781, allocations: 108.8 kB / 380.2 MB, free: 42.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2783, allocations: 129.7 kB / 380.4 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.2783, allocations: 13.62 kB / 380.4 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.279e-05/0.2784, allocations: 14.5 kB / 380.4 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.2785, allocations: 49.83 kB / 380.4 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2786, allocations: 142.8 kB / 380.6 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.2788, allocations: 287.8 kB / 380.9 MB, free: 42.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2788, allocations: 1.094 kB / 380.9 MB, free: 42.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2788, allocations: 0 / 380.9 MB, free: 42.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.2789, allocations: 0 / 380.9 MB, free: 42.3 MB / 298.7 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.001094/0.28, allocations: 0.591 MB / 381.5 MB, free: 41.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.3e-05/0.28, allocations: 9.812 kB / 381.5 MB, free: 41.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.2801, allocations: 34.12 kB / 381.5 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.2804, allocations: 260.8 kB / 381.8 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.2804, allocations: 13.22 kB / 381.8 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.2805, allocations: 29.53 kB / 381.8 MB, free: 41.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.2811, allocations: 253 kB / 382 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2811, allocations: 1.25 kB / 382 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.2811, allocations: 13.28 kB / 382.1 MB, free: 41.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2811, allocations: 5.25 kB / 382.1 MB, free: 41.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007796/0.2819, allocations: 280.2 kB / 382.3 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2832, allocations: 0.8407 MB / 383.2 MB, free: 40.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008053/0.2841, allocations: 272.9 kB / 383.4 MB, free: 40.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.2843, allocations: 109.6 kB / 383.5 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.2844, allocations: 5.344 kB / 383.6 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004266/0.2848, allocations: 174.3 kB / 383.7 MB, free: 40.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.2848, allocations: 0 / 383.7 MB, free: 40.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001714/0.2865, allocations: 0.659 MB / 384.4 MB, free: 39.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.2866, allocations: 79.05 kB / 384.5 MB, free: 39.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.2868, allocations: 238 kB / 384.7 MB, free: 39.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.2869, allocations: 32.08 kB / 384.7 MB, free: 39.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.287, allocations: 164.5 kB / 384.9 MB, free: 39.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.287, allocations: 41.8 kB / 384.9 MB, free: 39.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.287, allocations: 4 kB / 384.9 MB, free: 39.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.2871, allocations: 332.3 kB / 385.3 MB, free: 39.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.2874, allocations: 104.3 kB / 385.4 MB, free: 38.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.2877, allocations: 167.8 kB / 385.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.2882, allocations: 276.2 kB / 385.8 MB, free: 38.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2883, allocations: 1.094 kB / 385.8 MB, free: 38.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001007/0.2893, allocations: 442.5 kB / 386.2 MB, free: 38.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.2894, allocations: 155.9 kB / 386.4 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.2894, allocations: 6.438 kB / 386.4 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/0.2899, allocations: 131.2 kB / 386.5 MB, free: 38.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.2902, allocations: 47.91 kB / 386.6 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.2914, allocations: 1.506 MB / 388.1 MB, free: 36.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2917, allocations: 43.81 kB / 388.1 MB, free: 36.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.2917, allocations: 8 kB / 388.1 MB, free: 36.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-06/0.2917, allocations: 4 kB / 388.1 MB, free: 36.45 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005727/0.2923, allocations: 306.2 kB / 388.4 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2923, allocations: 4 kB / 388.4 MB, free: 36.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.083e-05/0.2924, allocations: 24.84 kB / 388.4 MB, free: 36.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.2925, allocations: 47.95 kB / 388.5 MB, free: 36.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005954/0.2932, allocations: 1.389 MB / 389.9 MB, free: 34.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2934, allocations: 39.92 kB / 389.9 MB, free: 34.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2934, allocations: 11.94 kB / 389.9 MB, free: 34.48 MB / 298.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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.0001286/0.2935, allocations: 213.1 kB / 390.1 MB, free: 34.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.2936, allocations: 23.66 kB / 390.2 MB, free: 34.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.2936, allocations: 21.83 kB / 390.2 MB, free: 34.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2936, allocations: 4 kB / 390.2 MB, free: 34.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2936, allocations: 4 kB / 390.2 MB, free: 34.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.2936, allocations: 3.938 kB / 390.2 MB, free: 34.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.2938, allocations: 281.5 kB / 390.5 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2938, allocations: 0 / 390.5 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.294, allocations: 39.91 kB / 390.5 MB, free: 33.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.2942, allocations: 56.81 kB / 390.6 MB, free: 33.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2942, allocations: 4 kB / 390.6 MB, free: 33.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.2952, allocations: 1.495 MB / 392.1 MB, free: 32.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2953, allocations: 0 / 392.1 MB, free: 32.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009174/0.2962, allocations: 462 kB / 392.5 MB, free: 31.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.2962, allocations: 100.8 kB / 392.6 MB, free: 31.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.2963, allocations: 8.062 kB / 392.6 MB, free: 31.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.2965, allocations: 35.97 kB / 392.7 MB, free: 31.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.722e-05/0.2966, allocations: 19.97 kB / 392.7 MB, free: 31.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.2966, allocations: 4 kB / 392.7 MB, free: 31.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.2967, allocations: 168.5 kB / 392.8 MB, free: 31.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2967, allocations: 8 kB / 392.8 MB, free: 31.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.2971, allocations: 107.7 kB / 393 MB, free: 31.22 MB / 298.7 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.0001242/0.2973, allocations: 111.2 kB / 393.1 MB, free: 31.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.2983, allocations: 0.6956 MB / 393.8 MB, free: 30.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.2983, allocations: 128 / 393.8 MB, free: 30.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.2987, allocations: 230.6 kB / 394 MB, free: 30.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.299, allocations: 40.36 kB / 394 MB, free: 30.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008608/0.2999, allocations: 0.6073 MB / 394.6 MB, free: 29.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.3001, allocations: 0.7479 MB / 395.4 MB, free: 28.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.3002, allocations: 25.88 kB / 395.4 MB, free: 28.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.3002, allocations: 23.38 kB / 395.4 MB, free: 28.63 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3002, allocations: 0 / 395.4 MB, free: 28.63 MB / 298.7 MB Notification: Performance of Templates: time 0.006172/0.3064, allocations: 3.334 MB / 398.8 MB, free: 25.32 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches