Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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|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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001638, allocations: 105.3 kB / 18.36 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 191 kB / 19.3 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 48.39 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08281/0.08401, allocations: 46.63 MB / 328.8 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00371/0.08775, allocations: 2.597 MB / 331.4 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.08891, allocations: 0.7059 MB / 332.1 MB, free: 420 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.08903, allocations: 4 kB / 332.1 MB, free: 416 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.08918, allocations: 35.58 kB / 332.1 MB, free: 380 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.08936, allocations: 91.25 kB / 332.2 MB, free: 288 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.08963, allocations: 91.83 kB / 332.3 MB, free: 196 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.08997, allocations: 322.7 kB / 332.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.09016, allocations: 76.72 kB / 332.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.09035, allocations: 131.4 kB / 332.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.09052, allocations: 143.4 kB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.09058, allocations: 28 kB / 333 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.091e-05/0.09064, allocations: 28 kB / 333 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.0907, allocations: 59.77 kB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.09083, allocations: 131.4 kB / 333.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.09111, allocations: 306.9 kB / 333.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.09113, allocations: 3.938 kB / 333.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.09113, allocations: 0 / 333.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.09114, allocations: 0 / 333.5 MB, free: 14.99 MB / 286.1 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.001169/0.09232, allocations: 0.6142 MB / 334.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.09237, allocations: 12.03 kB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.09244, allocations: 24.66 kB / 334.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.09281, allocations: 275.7 kB / 334.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.09284, allocations: 12.75 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.09289, allocations: 20.38 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.09346, allocations: 236.6 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.09349, allocations: 4 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.09352, allocations: 4 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.09353, allocations: 8 kB / 334.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007237/0.09426, allocations: 247.5 kB / 334.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.09561, allocations: 0.8208 MB / 335.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/0.09642, allocations: 234.5 kB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.09673, allocations: 92.78 kB / 336.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.09676, allocations: 7.938 kB / 336.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004082/0.09718, allocations: 160.9 kB / 336.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.09719, allocations: 4 kB / 336.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009033/0.0981, allocations: 285.2 kB / 336.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.09816, allocations: 77.11 kB / 336.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.09839, allocations: 244.9 kB / 336.8 MB, free: 11.4 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.09841, allocations: 29.7 kB / 336.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.09852, allocations: 167.9 kB / 337 MB, free: 11.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.09856, allocations: 39.45 kB / 337.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.09864, allocations: 45.7 kB / 337.1 MB, free: 11.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.09875, allocations: 330.8 kB / 337.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.09906, allocations: 92.78 kB / 337.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.09938, allocations: 146.7 kB / 337.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005745/0.09996, allocations: 246.7 kB / 337.9 MB, free: 10.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.09998, allocations: 0 / 337.9 MB, free: 10.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007067/0.1007, allocations: 314.9 kB / 338.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.1007, allocations: 37.69 kB / 338.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1008, allocations: 0 / 338.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1008, allocations: 4 kB / 338.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.101, allocations: 51.95 kB / 338.3 MB, free: 9.832 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.1011, allocations: 11.92 kB / 338.3 MB, free: 9.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.1013, allocations: 43.75 kB / 338.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.1014, allocations: 8 kB / 338.4 MB, free: 9.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002998/0.1017, allocations: 172.1 kB / 338.5 MB, free: 9.598 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002654/0.1019, allocations: 134.8 kB / 338.7 MB, free: 9.441 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004811/0.1024, allocations: 227.6 kB / 338.9 MB, free: 9.191 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.1024, allocations: 3.938 kB / 338.9 MB, free: 9.188 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006167/0.1031, allocations: 294.2 kB / 339.2 MB, free: 8.891 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.1031, allocations: 33.7 kB / 339.2 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1031, allocations: 3.984 kB / 339.2 MB, free: 8.848 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.1031, allocations: 4 kB / 339.2 MB, free: 8.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.1033, allocations: 47.91 kB / 339.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.1033, allocations: 0 / 339.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.1036, allocations: 35.88 kB / 339.3 MB, free: 8.762 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.1036, allocations: 8.031 kB / 339.3 MB, free: 8.754 MB / 286.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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.0001409/0.1038, allocations: 213 kB / 339.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.1038, allocations: 15.81 kB / 339.5 MB, free: 8.523 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.1039, allocations: 17.84 kB / 339.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1039, allocations: 7.984 kB / 339.5 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1039, allocations: 0 / 339.5 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.104, allocations: 96.83 kB / 339.6 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.104, allocations: 0 / 339.6 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.1042, allocations: 35.95 kB / 339.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.1043, allocations: 19.92 kB / 339.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008225/0.1051, allocations: 321.3 kB / 340 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009867/0.1061, allocations: 482.4 kB / 340.5 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002917/0.1064, allocations: 95.94 kB / 340.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1066, allocations: 168.5 kB / 340.7 MB, free: 7.266 MB / 286.1 MB Notification: Performance of Backend: time 5.21e-07/0.1066, allocations: 0 / 340.7 MB, free: 7.266 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.1077, allocations: 433.8 kB / 341.2 MB, free: 6.812 MB / 286.1 MB Notification: Performance of SimCode: time 0.001037/0.1087, allocations: 0.9177 MB / 342.1 MB, free: 5.844 MB / 286.1 MB Notification: Performance of Templates: time 0.00772/0.1165, allocations: 3.84 MB / 345.9 MB, free: 2.004 MB / 286.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches