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.001416/0.001416, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001262/0.001262, allocations: 168 kB / 25.33 MB, free: 9.445 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 0.9139/0.9139, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.342e-06/1.342e-06, allocations: 0 / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.047e-05, allocations: 9.406 kB / 251.1 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.002609/0.002629, allocations: 2.964 MB / 254 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008733/0.003503, allocations: 0.7097 MB / 254.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.003604, allocations: 11.94 kB / 254.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.003738, allocations: 59.44 kB / 254.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.003865, allocations: 107 kB / 254.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.004083, allocations: 95.78 kB / 255 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.004363, allocations: 429.8 kB / 255.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.004506, allocations: 71.64 kB / 255.5 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.004701, allocations: 227.5 kB / 255.7 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.004828, allocations: 131.6 kB / 255.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.00487, allocations: 32 kB / 255.9 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-05/0.004905, allocations: 32 kB / 255.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.004947, allocations: 67.75 kB / 256 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.005035, allocations: 131.7 kB / 256.1 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.00526, allocations: 259.1 kB / 256.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005263, allocations: 4 kB / 256.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005264, allocations: 3.938 kB / 256.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005268, allocations: 4 kB / 256.4 MB, free: 14.25 MB / 250.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.0006006/0.005868, allocations: 0.6558 MB / 257 MB, free: 13.55 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.005905, allocations: 11.98 kB / 257 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.005979, allocations: 60.7 kB / 257.1 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.006194, allocations: 220 kB / 257.3 MB, free: 13.24 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.006209, allocations: 21.03 kB / 257.3 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.006237, allocations: 28.38 kB / 257.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.006551, allocations: 361.5 kB / 257.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.006559, allocations: 192 / 257.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.006579, allocations: 12.38 kB / 257.7 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.006588, allocations: 11.94 kB / 257.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.006748, allocations: 99.86 kB / 257.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/0.007658, allocations: 0.8484 MB / 258.7 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.007918, allocations: 179.1 kB / 258.8 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.521e-05/0.007993, allocations: 63.66 kB / 258.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.008009, allocations: 7.938 kB / 258.9 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.00803, allocations: 45.39 kB / 259 MB, free: 11.46 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.002e-06/0.008031, allocations: 0 / 259 MB, free: 11.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005475/0.008579, allocations: 309.5 kB / 259.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.008604, allocations: 55.41 kB / 259.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.008774, allocations: 284.3 kB / 259.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.00879, allocations: 29.7 kB / 259.6 MB, free: 10.74 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.769e-05/0.008878, allocations: 239.2 kB / 259.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.008913, allocations: 75.39 kB / 259.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.008966, allocations: 51.55 kB / 260 MB, free: 10.37 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.009084, allocations: 0.5078 MB / 260.5 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.009139, allocations: 32.45 kB / 260.5 MB, free: 9.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.495e-05/0.009214, allocations: 75.97 kB / 260.6 MB, free: 9.734 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.009341, allocations: 114.9 kB / 260.7 MB, free: 9.609 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009343, allocations: 4 kB / 260.7 MB, free: 9.605 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002739/0.009617, allocations: 240.6 kB / 260.9 MB, free: 9.355 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.00963, allocations: 6.656 kB / 260.9 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.009635, allocations: 4 kB / 261 MB, free: 9.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/0.009882, allocations: 99.3 kB / 261 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.009973, allocations: 31.92 kB / 261.1 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.0115, allocations: 3.676 MB / 264.8 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.01159, allocations: 27.78 kB / 264.8 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.0116, allocations: 8 kB / 264.8 MB, free: 5.262 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 8.868e-05/0.01169, allocations: 160.6 kB / 264.9 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.01172, allocations: 31.86 kB / 265 MB, free: 5.062 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.01175, allocations: 34.45 kB / 265 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.01175, allocations: 4.031 kB / 265 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.01175, allocations: 8 kB / 265 MB, free: 5.012 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01176, allocations: 3.938 kB / 265 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.01223, allocations: 0.5554 MB / 265.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01224, allocations: 0 / 265.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.484e-05/0.01229, allocations: 19.98 kB / 265.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/0.01246, allocations: 99.23 kB / 265.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.01247, allocations: 4 kB / 265.7 MB, free: 4.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.01385, allocations: 3.68 MB / 269.4 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01385, allocations: 0 / 269.4 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.01413, allocations: 363.5 kB / 269.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.01415, allocations: 35.84 kB / 269.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.01416, allocations: 8.172 kB / 269.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.01427, allocations: 23.98 kB / 269.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.01433, allocations: 27.89 kB / 269.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01434, allocations: 11.94 kB / 269.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.01444, allocations: 201.1 kB / 270 MB, free: 15.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01444, allocations: 4 kB / 270 MB, free: 15.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.01468, allocations: 95.84 kB / 270.1 MB, free: 15.56 MB / 266.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 7.41e-05/0.01476, allocations: 103.2 kB / 270.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.01513, allocations: 481.9 kB / 270.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01513, allocations: 4 kB / 270.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.01533, allocations: 435.3 kB / 271.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.01557, allocations: 40.41 kB / 271.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.01629, allocations: 490.3 kB / 271.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.159e-05/0.01634, allocations: 96.19 kB / 271.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.637e-05/0.0164, allocations: 17.95 kB / 271.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.01644, allocations: 20.5 kB / 271.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01644, allocations: 0 / 271.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of Templates: time 0.005087/0.02152, allocations: 3.76 MB / 275.5 MB, free: 10.04 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.7099491991102695]