Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 192.2 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009081/0.0009085, allocations: 92.09 kB / 299.8 MB, free: 5.367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002633, allocations: 4 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2835, allocations: 51.41 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003368/0.287, allocations: 2.454 MB / 414.5 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.2893, allocations: 0.9436 MB / 415.5 MB, free: 22.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004631/0.2898, allocations: 4 kB / 415.5 MB, free: 22.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.2901, allocations: 39.69 kB / 415.5 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.2905, allocations: 84.94 kB / 415.6 MB, free: 22.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.2909, allocations: 92.48 kB / 415.7 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.2913, allocations: 372.1 kB / 416 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.2916, allocations: 103.8 kB / 416.1 MB, free: 21.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.292, allocations: 131.5 kB / 416.3 MB, free: 21.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.2922, allocations: 143.2 kB / 416.4 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.2923, allocations: 20 kB / 416.4 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.2924, allocations: 16 kB / 416.4 MB, free: 21.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.2924, allocations: 51.7 kB / 416.5 MB, free: 21.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.2927, allocations: 172.9 kB / 416.7 MB, free: 21.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.2931, allocations: 396.1 kB / 417.1 MB, free: 20.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.2931, allocations: 0 / 417.1 MB, free: 20.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2932, allocations: 4 kB / 417.1 MB, free: 20.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.2932, allocations: 0 / 417.1 MB, free: 20.86 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.001525/0.2947, allocations: 0.6187 MB / 417.7 MB, free: 20.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.2948, allocations: 12.03 kB / 417.7 MB, free: 20.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.2949, allocations: 36.5 kB / 417.7 MB, free: 20.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.2953, allocations: 292.5 kB / 418 MB, free: 19.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2954, allocations: 20.94 kB / 418 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.2954, allocations: 28.38 kB / 418.1 MB, free: 19.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007352/0.2962, allocations: 328 kB / 418.4 MB, free: 19.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2962, allocations: 0 / 418.4 MB, free: 19.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.2962, allocations: 11.98 kB / 418.4 MB, free: 19.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2962, allocations: 4 kB / 418.4 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007642/0.297, allocations: 314 kB / 418.7 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.2988, allocations: 1.143 MB / 419.8 MB, free: 17.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008228/0.2996, allocations: 278.6 kB / 420.1 MB, free: 17.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.3, allocations: 112.8 kB / 420.2 MB, free: 17.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.3, allocations: 4 kB / 420.2 MB, free: 17.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004562/0.3005, allocations: 196.9 kB / 420.4 MB, free: 17.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.335e-06/0.3005, allocations: 0 / 420.4 MB, free: 17.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001023/0.3015, allocations: 353.1 kB / 420.8 MB, free: 16.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3016, allocations: 77.11 kB / 420.8 MB, free: 16.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.3018, allocations: 266.6 kB / 421.1 MB, free: 16.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3019, allocations: 33.7 kB / 421.1 MB, free: 16.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.302, allocations: 195.5 kB / 421.3 MB, free: 16.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.302, allocations: 43.38 kB / 421.4 MB, free: 16.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.3021, allocations: 8 kB / 421.4 MB, free: 16.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.3022, allocations: 334.8 kB / 421.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.3025, allocations: 120.2 kB / 421.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.3028, allocations: 196.2 kB / 422 MB, free: 15.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.3035, allocations: 335.7 kB / 422.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3035, allocations: 4 kB / 422.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008124/0.3043, allocations: 386.8 kB / 422.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.3043, allocations: 37.89 kB / 422.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3044, allocations: 8 kB / 422.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3044, allocations: 4 kB / 422.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.3047, allocations: 71.88 kB / 422.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3047, allocations: 4 kB / 422.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.305, allocations: 63.66 kB / 422.9 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.3051, allocations: 8 kB / 422.9 MB, free: 14.62 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.0001226/0.3052, allocations: 149.7 kB / 423.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.483e-05/0.3052, allocations: 27.7 kB / 423.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.3053, allocations: 17.72 kB / 423.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3053, allocations: 0 / 423.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3053, allocations: 8 kB / 423.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3053, allocations: 7.922 kB / 423.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.3056, allocations: 313.4 kB / 423.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3056, allocations: 0 / 423.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.3058, allocations: 47.95 kB / 423.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3059, allocations: 0 / 423.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.3059, allocations: 12 kB / 423.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3059, allocations: 3.938 kB / 423.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3059, allocations: 0 / 423.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000983/0.3069, allocations: 412.5 kB / 423.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.307, allocations: 100.8 kB / 424 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.307, allocations: 4 kB / 424 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.3073, allocations: 40.03 kB / 424 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.3074, allocations: 19.97 kB / 424 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3074, allocations: 3.938 kB / 424.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001699/0.3075, allocations: 186 kB / 424.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3076, allocations: 0 / 424.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.3079, allocations: 71.84 kB / 424.3 MB, free: 13.12 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.0001701/0.3081, allocations: 115.2 kB / 424.4 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007524/0.3088, allocations: 323.5 kB / 424.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3088, allocations: 0 / 424.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.3092, allocations: 120.1 kB / 424.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3095, allocations: 48.39 kB / 424.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.3107, allocations: 0.6497 MB / 425.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.3109, allocations: 0.7482 MB / 426.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.311, allocations: 34.22 kB / 426.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.3111, allocations: 23.44 kB / 426.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3111, allocations: 0 / 426.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of Templates: time 0.006633/0.3177, allocations: 2.737 MB / 429.1 MB, free: 8.297 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches