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.001089/0.001089, allocations: 111.8 kB / 17.75 MB, free: 5.348 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.001131/0.001131, allocations: 185.9 kB / 18.68 MB, free: 4.426 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.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.523e-05, allocations: 2.281 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004336/0.00437, allocations: 2.85 MB / 354.8 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.006008, allocations: 0.7245 MB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.006196, allocations: 4 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.006432, allocations: 43.58 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.00668, allocations: 95.19 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.007031, allocations: 115.8 kB / 355.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.007486, allocations: 442.4 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.007738, allocations: 127.3 kB / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.007956, allocations: 147.4 kB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.008149, allocations: 171.3 kB / 356.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.716e-05/0.008224, allocations: 40 kB / 356.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.094e-05/0.008281, allocations: 39.94 kB / 356.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003929/0.00868, allocations: 0.5063 MB / 357.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001802/0.008868, allocations: 307.5 kB / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.126e-05/0.008946, allocations: 51.81 kB / 357.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.555e-05/0.008997, allocations: 8 kB / 357.6 MB, free: 13.57 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.001466/0.01047, allocations: 1.543 MB / 359.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.217e-05/0.01054, allocations: 71.84 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007115/0.01125, allocations: 0.7845 MB / 360 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simplify1: time 6.541e-05/0.01133, allocations: 59.92 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Alias: time 0.001846/0.01318, allocations: 1.539 MB / 361.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simplify2: time 4.753e-05/0.01324, allocations: 35.95 kB / 361.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of Events: time 0.0002116/0.01346, allocations: 131.5 kB / 361.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002703/0.01374, allocations: 209.1 kB / 362 MB, free: 8.895 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002182/0.01396, allocations: 192.7 kB / 362.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of Causalize: time 0.0008575/0.01483, allocations: 0.7417 MB / 362.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005257/0.01536, allocations: 0.5364 MB / 363.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of Inline: time 0.001094/0.01647, allocations: 1.077 MB / 364.5 MB, free: 6.258 MB / 302.1 MB Notification: Performance of Partitioning: time 7.38e-05/0.01656, allocations: 62.38 kB / 364.6 MB, free: 6.188 MB / 302.1 MB Notification: Performance of Cleanup: time 4.264e-05/0.0166, allocations: 43.89 kB / 364.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of Causalize: time 0.001982/0.01859, allocations: 1.646 MB / 366.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of Tearing: time 8.696e-06/0.01861, allocations: 0 / 366.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of Initialization: time 3.1e-07/0.01862, allocations: 0 / 366.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of Tearing: time 1.743e-06/0.01862, allocations: 0 / 366.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of Categorize: time 1.246e-05/0.01864, allocations: 4 kB / 366.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of Solve: time 0.0002944/0.01894, allocations: 195.3 kB / 366.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003704/0.01932, allocations: 390 kB / 366.8 MB, free: 3.875 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 5.772e-05/0.01938, allocations: 30.75 kB / 366.9 MB, free: 3.848 MB / 302.1 MB Notification: Performance of SimCode: time 0.001471/0.02086, allocations: 1.601 MB / 368.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of Templates: time 0.2076/0.2285, allocations: 2.479 MB / 370.9 MB, free: 19.54 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