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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009246/0.0009246, allocations: 180.7 kB / 8.7 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00082/0.0008199, allocations: 82.23 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.387e-05/2.39e-05, allocations: 4.219 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/0.4718, allocations: 76.95 MB / 440 MB, free: 2.691 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.4721, allocations: 70.03 kB / 440.1 MB, free: 2.656 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01293/0.4851, allocations: 4.887 MB / 445 MB, free: 14.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4851, allocations: 4 kB / 445 MB, free: 14.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.4851, allocations: 4 kB / 445 MB, free: 14.51 MB / 330.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.0008358/0.486, allocations: 0.5631 MB / 445.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.486, allocations: 8.031 kB / 445.6 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.4861, allocations: 39.53 kB / 445.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.4864, allocations: 270.9 kB / 445.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.4864, allocations: 8 kB / 445.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.4865, allocations: 19.95 kB / 445.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002882/0.4868, allocations: 168.5 kB / 446 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.4871, allocations: 188 kB / 446.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4872, allocations: 3.984 kB / 446.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.4872, allocations: 0 / 446.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.4872, allocations: 8 kB / 446.2 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.4888, allocations: 0.9173 MB / 447.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.4892, allocations: 203.4 kB / 447.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.4894, allocations: 98.16 kB / 447.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.4894, allocations: 192 / 447.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.4894, allocations: 37.88 kB / 447.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.133e-06/0.4895, allocations: 0 / 447.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004916/0.4899, allocations: 223.2 kB / 447.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.49, allocations: 55.41 kB / 447.8 MB, free: 12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.4902, allocations: 211.7 kB / 448 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4902, allocations: 25.7 kB / 448 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4903, allocations: 184.7 kB / 448.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.4904, allocations: 71.66 kB / 448.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.4904, allocations: 4 kB / 448.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.4905, allocations: 327.5 kB / 448.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.4906, allocations: 53.78 kB / 448.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.4907, allocations: 86.8 kB / 448.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.897e-05/0.4908, allocations: 60.28 kB / 448.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4908, allocations: 4 kB / 448.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003847/0.4912, allocations: 257.7 kB / 449 MB, free: 10.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4912, allocations: 7.953 kB / 449 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4912, allocations: 0 / 449 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/0.4915, allocations: 76.69 kB / 449.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.4917, allocations: 43.91 kB / 449.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.4937, allocations: 2.708 MB / 451.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.4939, allocations: 31.7 kB / 451.9 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.494, allocations: 4 kB / 451.9 MB, free: 8 MB / 330.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 9.366e-05/0.4941, allocations: 105 kB / 452 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.4941, allocations: 31.69 kB / 452 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.4942, allocations: 36.11 kB / 452.1 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4942, allocations: 4 kB / 452.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4942, allocations: 0 / 452.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4942, allocations: 3.984 kB / 452.1 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007049/0.4949, allocations: 0.5721 MB / 452.6 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4949, allocations: 4 kB / 452.6 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.4951, allocations: 31.92 kB / 452.7 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/0.4953, allocations: 72 kB / 452.7 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4953, allocations: 4 kB / 452.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.4972, allocations: 2.705 MB / 455.5 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4972, allocations: 0 / 455.5 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.4976, allocations: 324.5 kB / 455.8 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.4977, allocations: 104.8 kB / 455.9 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.4977, allocations: 7.953 kB / 455.9 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.4979, allocations: 35.97 kB / 455.9 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.498, allocations: 30.47 kB / 455.9 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.498, allocations: 4 kB / 455.9 MB, free: 3.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.4982, allocations: 161.6 kB / 456.1 MB, free: 3.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4982, allocations: 0 / 456.1 MB, free: 3.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003511/0.4985, allocations: 91.69 kB / 456.2 MB, free: 3.754 MB / 330.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.0001285/0.4987, allocations: 99.25 kB / 456.3 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.4992, allocations: 384.2 kB / 456.7 MB, free: 3.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4992, allocations: 0 / 456.7 MB, free: 3.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.4995, allocations: 311.7 kB / 457 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.4998, allocations: 33.39 kB / 457 MB, free: 2.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.5004, allocations: 298.2 kB / 457.3 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.5007, allocations: 0.7721 MB / 458.1 MB, free: 1.918 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.5008, allocations: 22.02 kB / 458.1 MB, free: 1.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.5008, allocations: 19.44 kB / 458.1 MB, free: 1.875 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5008, allocations: 0 / 458.1 MB, free: 1.875 MB / 330.7 MB Notification: Performance of Templates: time 0.006427/0.5073, allocations: 2.796 MB / 460.9 MB, free: 15.09 MB / 346.7 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches