Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003055/0.003055, allocations: 200.6 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.811/1.811, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009455/0.0009456, allocations: 90.75 kB / 299.8 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003933, allocations: 4 kB / 360.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2726, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002472/0.2752, allocations: 2.462 MB / 414.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2765, allocations: 0.9482 MB / 415.5 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.2767, allocations: 4 kB / 415.5 MB, free: 22.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.2769, allocations: 32.77 kB / 415.5 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.2772, allocations: 89.84 kB / 415.6 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.2775, allocations: 95.91 kB / 415.7 MB, free: 22.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000375/0.2779, allocations: 370.5 kB / 416.1 MB, free: 21.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.2781, allocations: 110 kB / 416.2 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.2784, allocations: 119.5 kB / 416.3 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.2786, allocations: 147.2 kB / 416.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.2787, allocations: 16 kB / 416.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.964e-05/0.2787, allocations: 16 kB / 416.4 MB, free: 21.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.2788, allocations: 51.77 kB / 416.5 MB, free: 21.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.2789, allocations: 180.8 kB / 416.7 MB, free: 21.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.2792, allocations: 392.1 kB / 417.1 MB, free: 20.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2792, allocations: 0 / 417.1 MB, free: 20.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2792, allocations: 0 / 417.1 MB, free: 20.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.2792, allocations: 4 kB / 417.1 MB, free: 20.81 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.0009988/0.2802, allocations: 0.6216 MB / 417.7 MB, free: 20.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2802, allocations: 12.03 kB / 417.7 MB, free: 20.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.2803, allocations: 36.55 kB / 417.7 MB, free: 20.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.2806, allocations: 300.5 kB / 418 MB, free: 19.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2806, allocations: 12.94 kB / 418 MB, free: 19.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.2807, allocations: 24.38 kB / 418.1 MB, free: 19.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.2813, allocations: 332 kB / 418.4 MB, free: 19.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2813, allocations: 0 / 418.4 MB, free: 19.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.2813, allocations: 8 kB / 418.4 MB, free: 19.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2813, allocations: 8 kB / 418.4 MB, free: 19.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.2821, allocations: 310 kB / 418.7 MB, free: 19.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.2837, allocations: 1.212 MB / 419.9 MB, free: 17.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007975/0.2845, allocations: 274.6 kB / 420.2 MB, free: 17.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.2848, allocations: 116.8 kB / 420.3 MB, free: 17.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2848, allocations: 4 kB / 420.3 MB, free: 17.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004221/0.2852, allocations: 188.9 kB / 420.5 MB, free: 17.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.2853, allocations: 0 / 420.5 MB, free: 17.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001799/0.2871, allocations: 0.6707 MB / 421.2 MB, free: 16.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.2871, allocations: 85.05 kB / 421.2 MB, free: 16.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.2873, allocations: 266.5 kB / 421.5 MB, free: 16.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2874, allocations: 37.64 kB / 421.5 MB, free: 16.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.2874, allocations: 183.6 kB / 421.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.2875, allocations: 47.38 kB / 421.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.2875, allocations: 4 kB / 421.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.2876, allocations: 334.8 kB / 422.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.2879, allocations: 116.2 kB / 422.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.2882, allocations: 203.5 kB / 422.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.2888, allocations: 331.7 kB / 422.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2889, allocations: 0 / 422.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001052/0.2899, allocations: 479.7 kB / 423.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.29, allocations: 41.62 kB / 423.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.29, allocations: 4 kB / 423.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002988/0.2903, allocations: 76.86 kB / 423.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.2905, allocations: 59.91 kB / 423.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.2926, allocations: 1.74 MB / 425.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.293, allocations: 59.81 kB / 425.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.293, allocations: 15.94 kB / 425.2 MB, free: 12.13 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.0001281/0.2931, allocations: 152.3 kB / 425.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.2932, allocations: 27.75 kB / 425.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.2932, allocations: 25.7 kB / 425.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2932, allocations: 4 kB / 425.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2932, allocations: 0 / 425.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2932, allocations: 3.938 kB / 425.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.2935, allocations: 309.3 kB / 425.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2935, allocations: 0 / 425.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.2937, allocations: 35.97 kB / 425.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/0.2939, allocations: 72.81 kB / 425.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2939, allocations: 0 / 425.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.2953, allocations: 1.546 MB / 427.4 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2954, allocations: 8.016 kB / 427.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.2965, allocations: 497.5 kB / 427.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.2966, allocations: 104.7 kB / 428 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.2966, allocations: 11.94 kB / 428 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2969, allocations: 31.97 kB / 428 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.2969, allocations: 19.97 kB / 428 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.297, allocations: 8.062 kB / 428 MB, free: 9.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.2971, allocations: 186 kB / 428.2 MB, free: 8.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2971, allocations: 0 / 428.2 MB, free: 8.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.2974, allocations: 67.84 kB / 428.3 MB, free: 8.824 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.0001311/0.2976, allocations: 115.2 kB / 428.4 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.2987, allocations: 0.494 MB / 428.9 MB, free: 8.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2987, allocations: 0 / 428.9 MB, free: 8.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.2991, allocations: 239 kB / 429.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.2994, allocations: 40.53 kB / 429.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.3025, allocations: 1.04 MB / 430.2 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.3027, allocations: 0.7482 MB / 430.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.3029, allocations: 30.27 kB / 431 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.3029, allocations: 19.44 kB / 431 MB, free: 6 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3029, allocations: 0 / 431 MB, free: 6 MB / 298.7 MB Notification: Performance of Templates: time 0.007485/0.3104, allocations: 3.242 MB / 434.2 MB, free: 2.773 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches