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.Differentiator.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.Differentiator,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.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,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.Differentiator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001884/0.001884, allocations: 179.2 kB / 17.36 MB, free: 4.445 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.54/1.54, allocations: 205.6 MB / 223.7 MB, free: 8.953 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.0009271/0.0009273, allocations: 94.41 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3264, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002986/0.3295, allocations: 2.217 MB / 378.8 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.3309, allocations: 0.7465 MB / 379.6 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.3311, allocations: 11.34 kB / 379.6 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.3312, allocations: 22.55 kB / 379.6 MB, free: 43.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.3314, allocations: 75.41 kB / 379.7 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.3317, allocations: 83.58 kB / 379.8 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.3321, allocations: 307.7 kB / 380.1 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.3323, allocations: 71.17 kB / 380.1 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.3325, allocations: 104.6 kB / 380.2 MB, free: 42.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.3326, allocations: 128.7 kB / 380.4 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.3327, allocations: 14.59 kB / 380.4 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.284e-05/0.3327, allocations: 14.12 kB / 380.4 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.3328, allocations: 50.02 kB / 380.4 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.3329, allocations: 142.2 kB / 380.6 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.3332, allocations: 288.7 kB / 380.9 MB, free: 42.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3333, allocations: 0 / 380.9 MB, free: 42.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3333, allocations: 0 / 380.9 MB, free: 42.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3333, allocations: 1.062 kB / 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.001236/0.3345, allocations: 0.5866 MB / 381.4 MB, free: 41.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.3346, allocations: 8.562 kB / 381.5 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.763e-05/0.3347, allocations: 30.12 kB / 381.5 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.335, allocations: 265.6 kB / 381.7 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.335, allocations: 12.69 kB / 381.8 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.3351, allocations: 25.98 kB / 381.8 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/0.3357, allocations: 252.9 kB / 382 MB, free: 41.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3357, allocations: 1.219 kB / 382 MB, free: 41.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.3357, allocations: 13.03 kB / 382 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.3357, allocations: 5.031 kB / 382.1 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007685/0.3365, allocations: 280.5 kB / 382.3 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.3381, allocations: 0.849 MB / 383.2 MB, free: 40.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009812/0.3391, allocations: 270.6 kB / 383.4 MB, free: 40.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.3394, allocations: 105.9 kB / 383.5 MB, free: 40.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.3395, allocations: 5.438 kB / 383.5 MB, free: 40.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004996/0.34, allocations: 177.9 kB / 383.7 MB, free: 40.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.34, allocations: 0 / 383.7 MB, free: 40.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001/0.341, allocations: 342.9 kB / 384.1 MB, free: 40.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.3411, allocations: 87.34 kB / 384.1 MB, free: 39.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.3413, allocations: 229 kB / 384.4 MB, free: 39.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3413, allocations: 28.11 kB / 384.4 MB, free: 39.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.3414, allocations: 172.5 kB / 384.6 MB, free: 39.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.3415, allocations: 49.03 kB / 384.6 MB, free: 39.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.3415, allocations: 1.094 kB / 384.6 MB, free: 39.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3416, allocations: 335.8 kB / 384.9 MB, free: 39.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.3419, allocations: 105 kB / 385 MB, free: 39.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.3423, allocations: 154.4 kB / 385.2 MB, free: 39.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.3429, allocations: 277 kB / 385.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3429, allocations: 0 / 385.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007891/0.3437, allocations: 349.2 kB / 385.8 MB, free: 38.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.3439, allocations: 155.8 kB / 386 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3439, allocations: 1.844 kB / 386 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.3439, allocations: 7.312 kB / 386 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.3442, allocations: 69.52 kB / 386 MB, free: 38.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3442, allocations: 3.438 kB / 386 MB, free: 38.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.3445, allocations: 54.61 kB / 386.1 MB, free: 38.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.3446, allocations: 6.656 kB / 386.1 MB, free: 38.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.3446, allocations: 3.031 kB / 386.1 MB, free: 38.44 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007147/0.3453, allocations: 278.5 kB / 386.4 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3453, allocations: 1.656 kB / 386.4 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.3454, allocations: 5.719 kB / 386.4 MB, free: 38.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.3456, allocations: 62.52 kB / 386.4 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3456, allocations: 2.312 kB / 386.4 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.3458, allocations: 45.31 kB / 386.5 MB, free: 38.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.3459, allocations: 14.12 kB / 386.5 MB, free: 38.24 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 (22): * Single equations (assignments): 21 * 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.0001368/0.346, allocations: 205.1 kB / 386.7 MB, free: 38.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.346, allocations: 23.72 kB / 386.7 MB, free: 38.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.3461, allocations: 33.75 kB / 386.8 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3461, allocations: 8 kB / 386.8 MB, free: 37.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3461, allocations: 0 / 386.8 MB, free: 37.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3461, allocations: 0 / 386.8 MB, free: 37.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.3464, allocations: 281.4 kB / 387 MB, free: 37.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3465, allocations: 0 / 387 MB, free: 37.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.3467, allocations: 47.97 kB / 387.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3467, allocations: 0 / 387.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.3467, allocations: 11.92 kB / 387.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3467, allocations: 0 / 387.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3467, allocations: 4 kB / 387.1 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/0.3476, allocations: 384.6 kB / 387.5 MB, free: 37.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.3476, allocations: 96.95 kB / 387.6 MB, free: 37.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.3477, allocations: 7.922 kB / 387.6 MB, free: 37.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.3479, allocations: 40.03 kB / 387.6 MB, free: 37.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.348, allocations: 11.98 kB / 387.6 MB, free: 37.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.348, allocations: 11.92 kB / 387.6 MB, free: 37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.3481, allocations: 168.5 kB / 387.8 MB, free: 36.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3481, allocations: 0 / 387.8 MB, free: 36.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003597/0.3485, allocations: 107.7 kB / 387.9 MB, free: 36.73 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 (13): * Single equations (assignments): 11 * 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.0001457/0.3486, allocations: 107.2 kB / 388 MB, free: 36.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000907/0.3496, allocations: 474.8 kB / 388.5 MB, free: 36.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3496, allocations: 0 / 388.5 MB, free: 36.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.3498, allocations: 116.2 kB / 388.6 MB, free: 36.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3502, allocations: 36.34 kB / 388.6 MB, free: 35.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3513, allocations: 0.5941 MB / 389.2 MB, free: 35.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.3515, allocations: 0.7403 MB / 390 MB, free: 34.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.3517, allocations: 29.94 kB / 390 MB, free: 34.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.3517, allocations: 19.44 kB / 390 MB, free: 34.55 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3517, allocations: 0 / 390 MB, free: 34.55 MB / 298.7 MB Notification: Performance of Templates: time 0.006406/0.3582, allocations: 2.701 MB / 392.7 MB, free: 31.87 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches