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.Differentiator.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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008573/0.0008573, allocations: 175.6 kB / 16.71 MB, free: 5.09 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.344/1.344, allocations: 225.7 MB / 243.2 MB, free: 8.445 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.0008009/0.000801, allocations: 95.81 kB / 294.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002773, allocations: 8 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2685, allocations: 50.41 MB / 404.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003197/0.2718, allocations: 2.441 MB / 407 MB, free: 28.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.2732, allocations: 0.7662 MB / 407.8 MB, free: 28.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.2734, allocations: 4 kB / 407.8 MB, free: 28.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.2736, allocations: 35.69 kB / 407.8 MB, free: 28.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.2738, allocations: 84.59 kB / 407.9 MB, free: 27.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.2742, allocations: 94.7 kB / 408 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.2746, allocations: 366.5 kB / 408.4 MB, free: 27.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.2749, allocations: 104.9 kB / 408.5 MB, free: 27.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.2752, allocations: 119.5 kB / 408.6 MB, free: 27.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.2754, allocations: 143.3 kB / 408.7 MB, free: 27.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.2754, allocations: 21.06 kB / 408.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.995e-05/0.2755, allocations: 16 kB / 408.8 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.2756, allocations: 55.7 kB / 408.8 MB, free: 27.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.2757, allocations: 170.3 kB / 409 MB, free: 26.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.2761, allocations: 400.1 kB / 409.4 MB, free: 26.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2761, allocations: 0 / 409.4 MB, free: 26.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2762, allocations: 7.938 kB / 409.4 MB, free: 26.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.2762, allocations: 3.938 kB / 409.4 MB, free: 26.48 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.001311/0.2775, allocations: 0.6187 MB / 410 MB, free: 25.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2775, allocations: 12.03 kB / 410 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/0.2776, allocations: 32.56 kB / 410 MB, free: 25.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.278, allocations: 292.5 kB / 410.3 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.2781, allocations: 24.94 kB / 410.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.2781, allocations: 24.38 kB / 410.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009124/0.2791, allocations: 328 kB / 410.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2791, allocations: 0 / 410.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.2791, allocations: 12 kB / 410.7 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.2792, allocations: 4 kB / 410.7 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.2802, allocations: 306 kB / 411 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.2823, allocations: 1.143 MB / 412.2 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.2835, allocations: 278.6 kB / 412.4 MB, free: 23.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004344/0.2839, allocations: 112.8 kB / 412.5 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.284, allocations: 8 kB / 412.5 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006453/0.2846, allocations: 188.9 kB / 412.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.2846, allocations: 0 / 412.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001393/0.286, allocations: 357.5 kB / 413.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.2861, allocations: 81.11 kB / 413.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.2864, allocations: 266.6 kB / 413.4 MB, free: 22.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.2865, allocations: 29.64 kB / 413.5 MB, free: 22.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.2866, allocations: 199.5 kB / 413.6 MB, free: 21.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.2867, allocations: 47.39 kB / 413.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.2867, allocations: 0 / 413.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.2868, allocations: 338.8 kB / 414 MB, free: 21.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.2873, allocations: 116.2 kB / 414.1 MB, free: 21.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.2878, allocations: 206.3 kB / 414.3 MB, free: 21.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009277/0.2887, allocations: 331.8 kB / 414.7 MB, free: 20.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2888, allocations: 3.938 kB / 414.7 MB, free: 20.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001143/0.2899, allocations: 390.9 kB / 415 MB, free: 20.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.29, allocations: 33.7 kB / 415.1 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.29, allocations: 4.125 kB / 415.1 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.29, allocations: 8 kB / 415.1 MB, free: 20.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.2904, allocations: 67.89 kB / 415.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2905, allocations: 7.984 kB / 415.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.2909, allocations: 67.66 kB / 415.2 MB, free: 20.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.2909, allocations: 12 kB / 415.2 MB, free: 20.25 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.2911, allocations: 141.8 kB / 415.4 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.2912, allocations: 23.72 kB / 415.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.2913, allocations: 25.7 kB / 415.4 MB, free: 20.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2913, allocations: 7.938 kB / 415.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2913, allocations: 4 kB / 415.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2913, allocations: 3.938 kB / 415.4 MB, free: 20.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.2916, allocations: 313.4 kB / 415.8 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2916, allocations: 0 / 415.8 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.292, allocations: 51.95 kB / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.292, allocations: 0 / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.292, allocations: 4 kB / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2921, allocations: 4 kB / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2921, allocations: 0 / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.2935, allocations: 416.4 kB / 416.2 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.2935, allocations: 96.86 kB / 416.3 MB, free: 19.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.2936, allocations: 11.98 kB / 416.3 MB, free: 19.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.2939, allocations: 36.03 kB / 416.4 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/0.294, allocations: 15.98 kB / 416.4 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2941, allocations: 7.922 kB / 416.4 MB, free: 19.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002085/0.2943, allocations: 190 kB / 416.6 MB, free: 18.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2943, allocations: 0 / 416.6 MB, free: 18.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000439/0.2947, allocations: 63.84 kB / 416.6 MB, free: 18.76 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001443/0.2949, allocations: 111.2 kB / 416.7 MB, free: 18.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.296, allocations: 331.5 kB / 417.1 MB, free: 18.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.296, allocations: 4.062 kB / 417.1 MB, free: 18.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.2965, allocations: 111.9 kB / 417.2 MB, free: 18.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.2969, allocations: 45.39 kB / 417.2 MB, free: 18.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2983, allocations: 0.6534 MB / 417.9 MB, free: 17.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.2986, allocations: 0.7521 MB / 418.6 MB, free: 16.69 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.2988, allocations: 30.28 kB / 418.7 MB, free: 16.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.406e-05/0.2989, allocations: 19.44 kB / 418.7 MB, free: 16.64 MB / 298.7 MB Notification: Performance of SimCode: time 1.703e-06/0.2989, allocations: 3.938 kB / 418.7 MB, free: 16.64 MB / 298.7 MB Notification: Performance of Templates: time 0.007255/0.3061, allocations: 2.729 MB / 421.4 MB, free: 13.93 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches