Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009534/0.0009535, allocations: 91.64 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.745e-05, allocations: 4 kB / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.09855, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2922/0.3907, allocations: 78.9 MB / 474.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/0.391, allocations: 70.19 kB / 474.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01267/0.4036, allocations: 5.195 MB / 479.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4037, allocations: 0 / 479.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.4037, allocations: 12 kB / 479.3 MB, free: 9.801 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007884/0.4045, allocations: 0.5534 MB / 479.9 MB, free: 9.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.4045, allocations: 12.03 kB / 479.9 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.4048, allocations: 52.17 kB / 480 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.4051, allocations: 260.7 kB / 480.2 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.4051, allocations: 13.31 kB / 480.2 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.4052, allocations: 15.94 kB / 480.2 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002899/0.4055, allocations: 165.5 kB / 480.4 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.4058, allocations: 191.6 kB / 480.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4058, allocations: 6.953 kB / 480.6 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.4058, allocations: 0 / 480.6 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.4058, allocations: 4 kB / 480.6 MB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.4072, allocations: 0.9269 MB / 481.5 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.4076, allocations: 188 kB / 481.7 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.4077, allocations: 105.2 kB / 481.8 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4078, allocations: 4.188 kB / 481.8 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.4078, allocations: 38.38 kB / 481.9 MB, free: 7.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.4078, allocations: 2.719 kB / 481.9 MB, free: 7.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004622/0.4083, allocations: 220.4 kB / 482.1 MB, free: 7.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.4083, allocations: 59.41 kB / 482.1 MB, free: 7.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.4085, allocations: 200.4 kB / 482.3 MB, free: 7.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4085, allocations: 29.7 kB / 482.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.4085, allocations: 183.6 kB / 482.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.4086, allocations: 70.48 kB / 482.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.4086, allocations: 0 / 482.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.4087, allocations: 334.5 kB / 482.9 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.4087, allocations: 55.66 kB / 483 MB, free: 6.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.4088, allocations: 88.81 kB / 483.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.137e-05/0.4089, allocations: 62.03 kB / 483.1 MB, free: 6.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4089, allocations: 0 / 483.1 MB, free: 6.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003633/0.4093, allocations: 250.1 kB / 483.4 MB, free: 6.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4093, allocations: 12.02 kB / 483.4 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4093, allocations: 4 kB / 483.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.4096, allocations: 69.61 kB / 483.5 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.4098, allocations: 39.97 kB / 483.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.4112, allocations: 2.718 MB / 486.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.4114, allocations: 27.69 kB / 486.2 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.4115, allocations: 12.06 kB / 486.3 MB, free: 3.309 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.4115, allocations: 104.5 kB / 486.4 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.4116, allocations: 23.72 kB / 486.4 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.4116, allocations: 32.34 kB / 486.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4116, allocations: 0 / 486.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4117, allocations: 4 kB / 486.4 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4117, allocations: 0 / 486.4 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.4123, allocations: 0.5846 MB / 487 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4123, allocations: 0 / 487 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.4124, allocations: 25.77 kB / 487 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.4126, allocations: 79.5 kB / 487.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4126, allocations: 0 / 487.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.414, allocations: 2.715 MB / 489.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.414, allocations: 0 / 489.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.4144, allocations: 322.8 kB / 490.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.4145, allocations: 100.8 kB / 490.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.4145, allocations: 8.016 kB / 490.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.4148, allocations: 34.22 kB / 490.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.4148, allocations: 18.34 kB / 490.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.4149, allocations: 10.44 kB / 490.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.415, allocations: 162.3 kB / 490.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.415, allocations: 0 / 490.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003745/0.4154, allocations: 83.75 kB / 490.5 MB, free: 15.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001562/0.4156, allocations: 112.3 kB / 490.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.4161, allocations: 390.3 kB / 491 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4161, allocations: 0 / 491 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.4164, allocations: 299.6 kB / 491.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.4167, allocations: 36.45 kB / 491.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.4173, allocations: 301.1 kB / 491.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.4176, allocations: 0.7755 MB / 492.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.4177, allocations: 22.02 kB / 492.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.4178, allocations: 19.44 kB / 492.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4178, allocations: 0 / 492.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Templates: time 0.006057/0.4239, allocations: 2.798 MB / 495.3 MB, free: 10.5 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches