Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 111.8 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 206.8 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.559e-05, allocations: 6.219 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003954/0.003989, allocations: 2.871 MB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.005315, allocations: 0.7596 MB / 363 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.005467, allocations: 4 kB / 363 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.005643, allocations: 51.56 kB / 363.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.005828, allocations: 99.19 kB / 363.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.006156, allocations: 111.8 kB / 363.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.006611, allocations: 442.4 kB / 363.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.006864, allocations: 127.2 kB / 363.8 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.007167, allocations: 155.4 kB / 364 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.007374, allocations: 171.2 kB / 364.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.88e-05/0.00744, allocations: 40 kB / 364.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.855e-05/0.007495, allocations: 36 kB / 364.2 MB, free: 8.09 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003672/0.007867, allocations: 0.5063 MB / 364.7 MB, free: 7.578 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001598/0.008035, allocations: 311.5 kB / 365 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.163e-05/0.008103, allocations: 47.88 kB / 365.1 MB, free: 7.223 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.4e-05/0.008152, allocations: 8 kB / 365.1 MB, free: 7.215 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.001407/0.009565, allocations: 1.551 MB / 366.6 MB, free: 5.551 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.554e-05/0.009639, allocations: 67.89 kB / 366.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007098/0.01036, allocations: 0.7806 MB / 367.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of simplify1: time 6.333e-05/0.01043, allocations: 67.92 kB / 367.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of Alias: time 0.001739/0.01217, allocations: 1.524 MB / 369.1 MB, free: 2.926 MB / 302.1 MB Notification: Performance of simplify2: time 4.292e-05/0.01223, allocations: 39.95 kB / 369.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of Events: time 0.0001849/0.01242, allocations: 121.3 kB / 369.2 MB, free: 2.77 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002667/0.01269, allocations: 229 kB / 369.4 MB, free: 2.527 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002124/0.01291, allocations: 200.2 kB / 369.6 MB, free: 2.316 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007994/0.01372, allocations: 0.7296 MB / 370.4 MB, free: 1.574 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005122/0.01424, allocations: 0.5364 MB / 370.9 MB, free: 1.008 MB / 302.1 MB Notification: Performance of Inline: time 0.2185/0.2327, allocations: 1.067 MB / 372 MB, free: 15.45 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001673/0.2329, allocations: 63.69 kB / 372 MB, free: 15.43 MB / 302.1 MB Notification: Performance of Cleanup: time 9.775e-05/0.233, allocations: 37.66 kB / 372.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of Causalize: time 0.002486/0.2355, allocations: 1.641 MB / 373.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Tearing: time 1.334e-05/0.2356, allocations: 4 kB / 373.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Initialization: time 2.625e-06/0.2356, allocations: 1.125 kB / 373.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Tearing: time 6.042e-06/0.2356, allocations: 0 / 373.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Categorize: time 1.932e-05/0.2356, allocations: 3.547 kB / 373.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Solve: time 0.0004495/0.2361, allocations: 189.4 kB / 373.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0004022/0.2365, allocations: 392.6 kB / 374.3 MB, free: 15.07 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 4.819e-05/0.2365, allocations: 27.14 kB / 374.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of SimCode: time 0.001385/0.2379, allocations: 1.593 MB / 375.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of Templates: time 0.006555/0.2445, allocations: 2.489 MB / 378.4 MB, free: 13.96 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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