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.00138/0.00138, allocations: 113.1 kB / 17.76 MB, free: 5.301 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.001286/0.001286, allocations: 188.6 kB / 18.69 MB, free: 4.375 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.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.122e-05, allocations: 2.281 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003729/0.003759, allocations: 2.854 MB / 354.8 MB, free: 404 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.005123, allocations: 0.7206 MB / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.005352, allocations: 8 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.005538, allocations: 43.58 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.00581, allocations: 107.2 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.006152, allocations: 111.8 kB / 355.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005646/0.006726, allocations: 442.4 kB / 356.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.00699, allocations: 127.3 kB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.0073, allocations: 143.5 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.007554, allocations: 171.3 kB / 356.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.551e-05/0.007636, allocations: 36 kB / 356.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.007719, allocations: 44 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004266/0.00815, allocations: 0.5141 MB / 357.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002267/0.008384, allocations: 303.5 kB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.008507, allocations: 55.81 kB / 357.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.406e-05/0.008589, allocations: 11.94 kB / 357.6 MB, free: 13.56 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 (59) * Number of variables: 59 (59) Notification: Performance of Bindings: time 0.001668/0.01026, allocations: 1.543 MB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.313e-05/0.01036, allocations: 67.86 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007733/0.01114, allocations: 0.7728 MB / 360 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simplify1: time 8.565e-05/0.01124, allocations: 63.92 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of Alias: time 0.001913/0.01316, allocations: 1.547 MB / 361.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simplify2: time 7.022e-05/0.01324, allocations: 39.94 kB / 361.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002979/0.01354, allocations: 174 kB / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of Events: time 0.0002375/0.01379, allocations: 129.9 kB / 361.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002755/0.01408, allocations: 188.7 kB / 362.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of Causalize: time 0.001048/0.01513, allocations: 0.746 MB / 362.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000565/0.01571, allocations: 0.5287 MB / 363.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of Inline: time 0.001431/0.01715, allocations: 1.085 MB / 364.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of Partitioning: time 8.969e-05/0.01725, allocations: 62.38 kB / 364.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of Cleanup: time 8.913e-05/0.01735, allocations: 39.89 kB / 364.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of Causalize: time 0.002437/0.01979, allocations: 1.643 MB / 366.2 MB, free: 4.527 MB / 302.1 MB Notification: Performance of Tearing: time 1.272e-05/0.01981, allocations: 3.938 kB / 366.2 MB, free: 4.523 MB / 302.1 MB Notification: Performance of Initialization: time 7.22e-07/0.01982, allocations: 0 / 366.2 MB, free: 4.523 MB / 302.1 MB Notification: Performance of Tearing: time 4.488e-06/0.01983, allocations: 0 / 366.2 MB, free: 4.523 MB / 302.1 MB Notification: Performance of Categorize: time 1.076e-05/0.01985, allocations: 4 kB / 366.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of Solve: time 0.0003289/0.02018, allocations: 199.3 kB / 366.4 MB, free: 4.324 MB / 302.1 MB Notification: Performance of Jacobian: time 0.000384/0.02057, allocations: 394 kB / 366.8 MB, free: 3.902 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {der_.v} * Number of discrete states: .................... 2 (2) {vIn.signalSource.count, vIn.signalSource.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {$SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 29 (scalar:29, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 61 (scalar:61, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.359e-05/0.02064, allocations: 34.69 kB / 366.9 MB, free: 3.871 MB / 302.1 MB Notification: Performance of SimCode: time 0.00146/0.02211, allocations: 1.599 MB / 368.4 MB, free: 2.254 MB / 302.1 MB Notification: Performance of Templates: time 0.1812/0.2033, allocations: 2.398 MB / 370.8 MB, free: 20.43 MB / 302.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) "" Variables in the reference:time,der_.c.v,der_.opAmp.out.v,der_.opAmp.out.i Variables in the result:Vin,der_.C,der_.R,der_.V0,der_.Vns,der_.Vps,der_.c.C,der_.c.v,der_.f,der_.i2,der_.k,der_.n1.v,der_.n2.i,der_.n2.v,der_.opAmp.V0,der_.opAmp.Vns,der_.opAmp.Vps,der_.opAmp.homotopyType,der_.opAmp.in_n.i,der_.opAmp.in_p.i,der_.opAmp.in_p.v,der_.opAmp.out.i,der_.opAmp.out.v,der_.opAmp.simplifiedExpr,der_.opAmp.strict,der_.opAmp.useSupply,der_.opAmp.v_out,der_.opAmp.vns,der_.opAmp.vps,der_.p2.i,der_.r.R,der_.r.T,der_.r.T_heatPort,der_.r.T_ref,der_.r.alpha,der_.v,f,ground.p.v,time,vIn.V,vIn.falling,vIn.n.v,vIn.nperiod,vIn.offset,vIn.period,vIn.rising,vIn.signalSource.T_falling,vIn.signalSource.T_rising,vIn.signalSource.T_width,vIn.signalSource.amplitude,vIn.signalSource.falling,vIn.signalSource.nperiod,vIn.signalSource.offset,vIn.signalSource.period,vIn.signalSource.rising,vIn.signalSource.startTime,vIn.signalSource.width,vIn.startTime,vIn.width,vOut.n.i,vOut.n.v,vOut.p.i