Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.001471, allocations: 110.3 kB / 17.06 MB, free: 6 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.001459/0.00146, allocations: 198.8 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 55.91 kB / 351.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3709, allocations: 49.42 MB / 400.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004764/0.3757, allocations: 2.859 MB / 403.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.3778, allocations: 0.7245 MB / 404.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.378, allocations: 8 kB / 404.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.3782, allocations: 39.58 kB / 404.4 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.3785, allocations: 107.2 kB / 404.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.3789, allocations: 111.8 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004278/0.3793, allocations: 398.5 kB / 405 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.3796, allocations: 115.3 kB / 405.1 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.3799, allocations: 147.5 kB / 405.2 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.3801, allocations: 167.3 kB / 405.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.3802, allocations: 36 kB / 405.4 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.233e-05/0.3802, allocations: 40 kB / 405.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.3803, allocations: 79.69 kB / 405.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.3805, allocations: 163.2 kB / 405.7 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005802/0.3811, allocations: 431.6 kB / 406.1 MB, free: 3.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.3811, allocations: 4 kB / 406.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3811, allocations: 0 / 406.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.3811, allocations: 0 / 406.1 MB, free: 3.449 MB / 318.1 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.001777/0.3829, allocations: 0.6614 MB / 406.8 MB, free: 2.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.383, allocations: 11.89 kB / 406.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3831, allocations: 32.56 kB / 406.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.3836, allocations: 288.6 kB / 407.1 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.3837, allocations: 20.92 kB / 407.2 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.3837, allocations: 24.38 kB / 407.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007507/0.3845, allocations: 320 kB / 407.5 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.3845, allocations: 3.984 kB / 407.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.3846, allocations: 12 kB / 407.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3846, allocations: 4 kB / 407.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007544/0.3853, allocations: 274 kB / 407.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.3873, allocations: 1.115 MB / 408.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/0.3882, allocations: 242.6 kB / 409.1 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.3885, allocations: 104.7 kB / 409.2 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.3885, allocations: 0 / 409.2 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005036/0.3891, allocations: 184.8 kB / 409.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.3891, allocations: 0 / 409.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001073/0.3901, allocations: 309.2 kB / 409.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.3902, allocations: 77.11 kB / 409.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.3905, allocations: 274.5 kB / 410.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.3906, allocations: 33.64 kB / 410.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3907, allocations: 191.6 kB / 410.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.3908, allocations: 43.45 kB / 410.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3909, allocations: 45.7 kB / 410.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.391, allocations: 334.8 kB / 410.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.3914, allocations: 100.2 kB / 410.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.3918, allocations: 188.2 kB / 411 MB, free: 14.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006714/0.3925, allocations: 311.7 kB / 411.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3925, allocations: 0 / 411.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008782/0.3934, allocations: 366.9 kB / 411.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/0.3934, allocations: 33.7 kB / 411.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.3934, allocations: 0 / 411.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.3935, allocations: 4 kB / 411.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.3938, allocations: 71.88 kB / 411.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.3938, allocations: 8.094 kB / 411.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.3941, allocations: 47.66 kB / 411.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.3942, allocations: 12 kB / 411.8 MB, free: 13.41 MB / 334.1 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 (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 (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.0001659/0.3944, allocations: 145.7 kB / 411.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3944, allocations: 23.8 kB / 412 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.094e-05/0.3945, allocations: 21.72 kB / 412 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3945, allocations: 4 kB / 412 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3945, allocations: 4 kB / 412 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3945, allocations: 7.922 kB / 412 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.3949, allocations: 317.3 kB / 412.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.3949, allocations: 4 kB / 412.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.3952, allocations: 43.89 kB / 412.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.3952, allocations: 4 kB / 412.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.3952, allocations: 0 / 412.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3952, allocations: 7.938 kB / 412.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3952, allocations: 3.984 kB / 412.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3963, allocations: 372.5 kB / 412.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.3963, allocations: 96.94 kB / 412.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.3964, allocations: 4 kB / 412.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.3966, allocations: 27.97 kB / 412.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.3967, allocations: 20.03 kB / 412.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.3968, allocations: 7.938 kB / 412.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.397, allocations: 190 kB / 413.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.397, allocations: 3.938 kB / 413.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000349/0.3973, allocations: 67.75 kB / 413.2 MB, free: 11.96 MB / 334.1 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.0002081/0.3975, allocations: 107.2 kB / 413.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008385/0.3984, allocations: 298.4 kB / 413.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3984, allocations: 0 / 413.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.3987, allocations: 108.5 kB / 413.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3991, allocations: 40.47 kB / 413.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.4004, allocations: 0.5213 MB / 414.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.4008, allocations: 0.7518 MB / 415 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.4009, allocations: 26.3 kB / 415 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.401, allocations: 27.44 kB / 415 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.401, allocations: 0 / 415 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.007302/0.4083, allocations: 3.022 MB / 418 MB, free: 7.035 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches