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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.004559/0.004559, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 164 kB / 25.61 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.047/1.047, allocations: 158.6 MB / 187.5 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.077e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003756/0.003777, allocations: 2.938 MB / 254.4 MB, free: 4.293 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.005037, allocations: 0.7136 MB / 255.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.005186, allocations: 11.94 kB / 255.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.005348, allocations: 47.5 kB / 255.2 MB, free: 3.512 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.005525, allocations: 111 kB / 255.3 MB, free: 3.402 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.005852, allocations: 87.88 kB / 255.4 MB, free: 3.316 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.006232, allocations: 441.7 kB / 255.8 MB, free: 2.883 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.0064, allocations: 71.64 kB / 255.9 MB, free: 2.812 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.006684, allocations: 231.5 kB / 256.1 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.006836, allocations: 119.7 kB / 256.2 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.006883, allocations: 32 kB / 256.2 MB, free: 2.438 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.607e-05/0.006929, allocations: 32 kB / 256.3 MB, free: 2.406 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.006985, allocations: 79.66 kB / 256.4 MB, free: 2.324 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.007088, allocations: 123.7 kB / 256.5 MB, free: 2.203 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.007369, allocations: 263.1 kB / 256.7 MB, free: 1.945 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.007372, allocations: 7.984 kB / 256.7 MB, free: 1.938 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007373, allocations: 3.938 kB / 256.7 MB, free: 1.934 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.007378, allocations: 0 / 256.7 MB, free: 1.934 MB / 234.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.0008869/0.008265, allocations: 0.6519 MB / 257.4 MB, free: 1.242 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.008312, allocations: 19.97 kB / 257.4 MB, free: 1.223 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.297e-05/0.008395, allocations: 60.7 kB / 257.5 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.008654, allocations: 220 kB / 257.7 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.008678, allocations: 21.03 kB / 257.7 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.008711, allocations: 28.38 kB / 257.7 MB, free: 0.875 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.009044, allocations: 337.6 kB / 258.1 MB, free: 0.5 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.009055, allocations: 192 / 258.1 MB, free: 0.5 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.009077, allocations: 20.31 kB / 258.1 MB, free: 492 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.009089, allocations: 11.94 kB / 258.1 MB, free: 480 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.009214, allocations: 80.52 kB / 258.2 MB, free: 400 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.01032, allocations: 0.7943 MB / 259 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.0106, allocations: 163.6 kB / 259.1 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.01071, allocations: 63.2 kB / 259.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.01073, allocations: 11.94 kB / 259.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.01075, allocations: 33.39 kB / 259.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.204e-06/0.01076, allocations: 4 kB / 259.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006352/0.01139, allocations: 285.1 kB / 259.5 MB, free: 14.96 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.01142, allocations: 59.41 kB / 259.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.0116, allocations: 280.2 kB / 259.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.01162, allocations: 29.7 kB / 259.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.01174, allocations: 235.2 kB / 260.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.01179, allocations: 79.31 kB / 260.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.01186, allocations: 47.53 kB / 260.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004224/0.01228, allocations: 0.5078 MB / 260.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.01233, allocations: 28.44 kB / 260.8 MB, free: 13.65 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.0124, allocations: 67.94 kB / 260.8 MB, free: 13.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.01252, allocations: 98.97 kB / 260.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01252, allocations: 0 / 260.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002947/0.01282, allocations: 224.5 kB / 261.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.01283, allocations: 4 kB / 261.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01284, allocations: 0 / 261.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/0.01309, allocations: 99.34 kB / 261.3 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.0132, allocations: 39.91 kB / 261.3 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.01519, allocations: 3.619 MB / 264.9 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01529, allocations: 27.77 kB / 264.9 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.0153, allocations: 4 kB / 264.9 MB, free: 9.211 MB / 250.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.01542, allocations: 180.5 kB / 265.1 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.01547, allocations: 35.86 kB / 265.2 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.0155, allocations: 26.27 kB / 265.2 MB, free: 8.957 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.01551, allocations: 4 kB / 265.2 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.01551, allocations: 0 / 265.2 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01552, allocations: 0 / 265.2 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.01609, allocations: 0.5052 MB / 265.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01609, allocations: 0 / 265.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.01616, allocations: 27.98 kB / 265.7 MB, free: 8.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.01637, allocations: 95.34 kB / 265.8 MB, free: 8.273 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01638, allocations: 7.938 kB / 265.8 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.01849, allocations: 3.619 MB / 269.4 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01849, allocations: 0 / 269.4 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.01879, allocations: 347.6 kB / 269.8 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.01882, allocations: 31.73 kB / 269.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01883, allocations: 4 kB / 269.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.01898, allocations: 27.97 kB / 269.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.01903, allocations: 19.97 kB / 269.9 MB, free: 3.969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.01905, allocations: 15.98 kB / 269.9 MB, free: 3.953 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.664e-05/0.01914, allocations: 185.1 kB / 270.1 MB, free: 3.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01914, allocations: 4 kB / 270.1 MB, free: 3.766 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003973/0.01954, allocations: 95.84 kB / 270.1 MB, free: 3.672 MB / 250.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.873e-05/0.01964, allocations: 107.2 kB / 270.3 MB, free: 3.559 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004137/0.02005, allocations: 474 kB / 270.7 MB, free: 3.059 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.02006, allocations: 0 / 270.7 MB, free: 3.059 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.02036, allocations: 419.2 kB / 271.1 MB, free: 2.609 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.02067, allocations: 52.52 kB / 271.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/0.02151, allocations: 483.3 kB / 271.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.564e-05/0.02158, allocations: 88.31 kB / 271.7 MB, free: 1.953 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.987e-05/0.02166, allocations: 25.94 kB / 271.8 MB, free: 1.93 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.02181, allocations: 126.2 kB / 271.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02181, allocations: 0 / 271.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of Templates: time 0.007237/0.02905, allocations: 3.831 MB / 275.7 MB, free: 14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9842001530341804]