Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009332/0.0009332, allocations: 175.6 kB / 16.71 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.7 MB / 243.2 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007526/0.0007528, allocations: 97.02 kB / 294.4 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002754, allocations: 11.92 kB / 354.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2334, allocations: 50.41 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002433/0.2358, allocations: 2.441 MB / 407 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009501/0.2368, allocations: 0.768 MB / 407.8 MB, free: 28.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.237, allocations: 6.844 kB / 407.8 MB, free: 28.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.2371, allocations: 35.69 kB / 407.8 MB, free: 28.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.2372, allocations: 83.38 kB / 407.9 MB, free: 27.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.2375, allocations: 87.94 kB / 408 MB, free: 27.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.2378, allocations: 377.6 kB / 408.4 MB, free: 27.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.238, allocations: 106.6 kB / 408.5 MB, free: 27.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.2381, allocations: 123.5 kB / 408.6 MB, free: 27.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2383, allocations: 139.3 kB / 408.7 MB, free: 27.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.2383, allocations: 16 kB / 408.8 MB, free: 27.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-05/0.2384, allocations: 16 kB / 408.8 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.2384, allocations: 59.69 kB / 408.8 MB, free: 27.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.2386, allocations: 168.9 kB / 409 MB, free: 26.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.2389, allocations: 400.1 kB / 409.4 MB, free: 26.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2389, allocations: 0 / 409.4 MB, free: 26.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2389, allocations: 3.938 kB / 409.4 MB, free: 26.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2389, allocations: 4 kB / 409.4 MB, free: 26.49 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001034/0.2399, allocations: 0.6215 MB / 410 MB, free: 25.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.24, allocations: 12.03 kB / 410 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.2401, allocations: 36.56 kB / 410.1 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.2403, allocations: 292.5 kB / 410.3 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.2404, allocations: 16.94 kB / 410.4 MB, free: 25.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.2404, allocations: 24.38 kB / 410.4 MB, free: 25.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.2411, allocations: 332 kB / 410.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2411, allocations: 0 / 410.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.2411, allocations: 11.98 kB / 410.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2411, allocations: 8 kB / 410.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006998/0.2418, allocations: 302 kB / 411 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.2435, allocations: 1.212 MB / 412.2 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000788/0.2443, allocations: 270.6 kB / 412.5 MB, free: 23.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.2446, allocations: 116.8 kB / 412.6 MB, free: 23.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.2447, allocations: 4 kB / 412.6 MB, free: 23.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/0.2451, allocations: 188.9 kB / 412.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.2451, allocations: 0 / 412.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001808/0.247, allocations: 0.6634 MB / 413.5 MB, free: 22.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.247, allocations: 96.89 kB / 413.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.2472, allocations: 266.5 kB / 413.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2472, allocations: 33.64 kB / 413.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.2473, allocations: 191.6 kB / 414 MB, free: 21.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.2474, allocations: 43.39 kB / 414.1 MB, free: 21.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.2474, allocations: 4 kB / 414.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.2475, allocations: 334.8 kB / 414.4 MB, free: 21.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.2478, allocations: 116.2 kB / 414.5 MB, free: 21.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.2481, allocations: 203.5 kB / 414.7 MB, free: 20.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.2487, allocations: 331.7 kB / 415.1 MB, free: 20.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2487, allocations: 0 / 415.1 MB, free: 20.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001001/0.2497, allocations: 479.7 kB / 415.5 MB, free: 19.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.2497, allocations: 37.64 kB / 415.6 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2497, allocations: 4 kB / 415.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.25, allocations: 68.88 kB / 415.6 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.2503, allocations: 71.89 kB / 415.7 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.2523, allocations: 1.74 MB / 417.4 MB, free: 17.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.2526, allocations: 59.81 kB / 417.5 MB, free: 17.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.2526, allocations: 11.94 kB / 417.5 MB, free: 17.83 MB / 298.7 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 ($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 (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.000128/0.2528, allocations: 149.7 kB / 417.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.2528, allocations: 23.81 kB / 417.7 MB, free: 17.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.2529, allocations: 25.69 kB / 417.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2529, allocations: 4 kB / 417.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.2529, allocations: 0 / 417.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2529, allocations: 0 / 417.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.2531, allocations: 321.3 kB / 418 MB, free: 17.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2531, allocations: 0 / 418 MB, free: 17.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.2533, allocations: 39.91 kB / 418.1 MB, free: 17.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.2535, allocations: 68.81 kB / 418.1 MB, free: 17.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.2535, allocations: 4 kB / 418.1 MB, free: 17.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.2549, allocations: 1.538 MB / 419.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2549, allocations: 4.031 kB / 419.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.2561, allocations: 0.4976 MB / 420.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.2561, allocations: 100.7 kB / 420.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.2562, allocations: 8 kB / 420.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.2564, allocations: 35.95 kB / 420.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.2565, allocations: 19.92 kB / 420.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2565, allocations: 8.047 kB / 420.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.2567, allocations: 190 kB / 420.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2567, allocations: 0 / 420.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000326/0.257, allocations: 67.84 kB / 420.6 MB, free: 14.52 MB / 298.7 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.0001289/0.2571, allocations: 115.2 kB / 420.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.2582, allocations: 0.5057 MB / 421.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2582, allocations: 0 / 421.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.2586, allocations: 239 kB / 421.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.2589, allocations: 38.42 kB / 421.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.2617, allocations: 1.034 MB / 422.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.2619, allocations: 0.7521 MB / 423.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.262, allocations: 22.3 kB / 423.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.2621, allocations: 19.44 kB / 423.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2621, allocations: 0 / 423.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of Templates: time 0.005631/0.2677, allocations: 3.236 MB / 426.5 MB, free: 8.477 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches