Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 106.4 kB / 18.41 MB, free: 4.684 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.00129/0.00129, allocations: 192.3 kB / 19.35 MB, free: 3.762 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.347/1.347, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.318e-05, allocations: 3.266 kB / 329.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.00439/0.004422, allocations: 2.962 MB / 332.1 MB, free: 380 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.005891, allocations: 0.7175 MB / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.006169, allocations: 7.938 kB / 332.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.006376, allocations: 59.48 kB / 332.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.006659, allocations: 103 kB / 333 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.006953, allocations: 91.88 kB / 333.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.007478, allocations: 458.1 kB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.007683, allocations: 111.1 kB / 333.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.007921, allocations: 147.5 kB / 333.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.008119, allocations: 167.2 kB / 334 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.997e-05/0.008185, allocations: 32 kB / 334 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.854e-05/0.00826, allocations: 32 kB / 334 MB, free: 14.46 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004128/0.008679, allocations: 0.541 MB / 334.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001941/0.008882, allocations: 327.1 kB / 334.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.008994, allocations: 67.81 kB / 335 MB, free: 13.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.604e-05/0.009056, allocations: 11.94 kB / 335 MB, free: 13.51 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: 67 (67) * Number of variables: 67 (67) Notification: Performance of Bindings: time 0.001643/0.0107, allocations: 1.593 MB / 336.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001754/0.01089, allocations: 67.89 kB / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0007088/0.0116, allocations: 0.718 MB / 337.3 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simplify1: time 0.000105/0.01172, allocations: 83.89 kB / 337.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of Alias: time 0.00217/0.01389, allocations: 1.503 MB / 338.9 MB, free: 9.234 MB / 286.1 MB Notification: Performance of simplify2: time 0.000123/0.01404, allocations: 63.86 kB / 339 MB, free: 9.172 MB / 286.1 MB Notification: Performance of Events: time 0.0003345/0.01439, allocations: 155 kB / 339.1 MB, free: 9.02 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003208/0.01472, allocations: 200.3 kB / 339.3 MB, free: 8.809 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0004902/0.01522, allocations: 268.2 kB / 339.6 MB, free: 8.496 MB / 286.1 MB Notification: Performance of Causalize: time 0.001642/0.01688, allocations: 0.883 MB / 340.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008738/0.01777, allocations: 0.577 MB / 341.1 MB, free: 6.957 MB / 286.1 MB Notification: Performance of Inline: time 0.00162/0.0194, allocations: 0.9344 MB / 342 MB, free: 5.984 MB / 286.1 MB Notification: Performance of Partitioning: time 9.99e-05/0.01951, allocations: 50.36 kB / 342 MB, free: 5.93 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001479/0.01967, allocations: 51.88 kB / 342.1 MB, free: 5.879 MB / 286.1 MB Notification: Performance of Causalize: time 0.002545/0.02223, allocations: 1.261 MB / 343.4 MB, free: 4.602 MB / 286.1 MB Notification: Performance of Tearing: time 0.0009378/0.02318, allocations: 0.6525 MB / 344 MB, free: 3.852 MB / 286.1 MB Notification: Performance of Initialization: time 1.052e-06/0.02319, allocations: 0 / 344 MB, free: 3.852 MB / 286.1 MB Notification: Performance of Tearing: time 0.0007448/0.02395, allocations: 0.6605 MB / 344.7 MB, free: 3.094 MB / 286.1 MB Notification: Performance of Categorize: time 2.774e-05/0.02399, allocations: 0 / 344.7 MB, free: 3.094 MB / 286.1 MB Notification: Performance of Solve: time 0.0003853/0.02438, allocations: 137.9 kB / 344.8 MB, free: 2.961 MB / 286.1 MB Notification: Performance of Jacobian: time 5.42e-06/0.0244, allocations: 0 / 344.8 MB, free: 2.961 MB / 286.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: ............... 0 * Number of algebraic event partitions: ......... 7 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 27 (scalar:27, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 44 (scalar:44, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 7.94e-05/0.02449, allocations: 27.89 kB / 344.8 MB, free: 2.934 MB / 286.1 MB Notification: Performance of SimCode: time 0.002205/0.0267, allocations: 1.691 MB / 346.5 MB, free: 1.211 MB / 286.1 MB Notification: Performance of Templates: time 0.01036/0.03708, allocations: 3.386 MB / 349.9 MB, free: 13.82 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches