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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009119/0.0009119, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009209/0.0009209, allocations: 162.2 kB / 24.91 MB, free: 8.773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9466/0.9466, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.125e-05, allocations: 6.312 kB / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.002975/0.002997, allocations: 3.012 MB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.004314, allocations: 0.767 MB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.004434, allocations: 8 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.004569, allocations: 59.38 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.004715, allocations: 107 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.004988, allocations: 103.8 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.005322, allocations: 433.9 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.005469, allocations: 78.23 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.005747, allocations: 235.5 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.005878, allocations: 119.7 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.00599, allocations: 32 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.369e-05/0.006054, allocations: 35.94 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.006098, allocations: 75.72 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.006183, allocations: 127.7 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.006427, allocations: 271.1 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.00643, allocations: 0 / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006431, allocations: 3.938 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.006435, allocations: 4 kB / 278.8 MB, free: 11.75 MB / 266.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.0005382/0.006973, allocations: 0.5349 MB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.007005, allocations: 15.98 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.007134, allocations: 56.89 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.007344, allocations: 197.2 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.007359, allocations: 21.03 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.007387, allocations: 32.36 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.007645, allocations: 345.5 kB / 280 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.007654, allocations: 192 / 280 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.007672, allocations: 12.38 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.007679, allocations: 7.938 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.853e-05/0.007767, allocations: 72.56 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/0.008589, allocations: 0.6426 MB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.008798, allocations: 146.9 kB / 280.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.008844, allocations: 48.77 kB / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.008858, allocations: 8 kB / 280.9 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.008879, allocations: 46.48 kB / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.008881, allocations: 0 / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004404/0.009321, allocations: 258.4 kB / 281.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.009343, allocations: 51.41 kB / 281.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.009465, allocations: 225 kB / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.00948, allocations: 29.7 kB / 281.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.009545, allocations: 173 kB / 281.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.00958, allocations: 83.3 kB / 281.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.009629, allocations: 41.92 kB / 281.8 MB, free: 8.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.009702, allocations: 338.8 kB / 282.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.009732, allocations: 24.39 kB / 282.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.00978, allocations: 51.48 kB / 282.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.385e-05/0.009864, allocations: 94.38 kB / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.009866, allocations: 0 / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001926/0.01006, allocations: 191 kB / 282.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.01008, allocations: 4 kB / 282.5 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01008, allocations: 0 / 282.5 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/0.01028, allocations: 81.72 kB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.01037, allocations: 39.97 kB / 282.6 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.01152, allocations: 2.478 MB / 285.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.0116, allocations: 23.84 kB / 285.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.01161, allocations: 7.984 kB / 285.1 MB, free: 5.004 MB / 266.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 7.73e-05/0.01169, allocations: 125.8 kB / 285.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.01172, allocations: 27.92 kB / 285.3 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.01174, allocations: 30.23 kB / 285.3 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01174, allocations: 8 kB / 285.3 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01175, allocations: 192 / 285.3 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01175, allocations: 4 kB / 285.3 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.01219, allocations: 388.3 kB / 285.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01219, allocations: 0 / 285.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/0.01225, allocations: 23.98 kB / 285.7 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.01239, allocations: 89.62 kB / 285.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.0124, allocations: 4 kB / 285.8 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009724/0.01337, allocations: 2.483 MB / 288.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01337, allocations: 0 / 288.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.01356, allocations: 269.6 kB / 288.6 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.01358, allocations: 27.75 kB / 288.6 MB, free: 1.293 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.0136, allocations: 4.125 kB / 288.6 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.01369, allocations: 31.97 kB / 288.6 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.01374, allocations: 19.97 kB / 288.7 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.01375, allocations: 8 kB / 288.7 MB, free: 1.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.245e-05/0.0138, allocations: 70.78 kB / 288.7 MB, free: 1.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-08/0.0138, allocations: 4 kB / 288.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.01404, allocations: 99.83 kB / 288.8 MB, free: 1.062 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 8.561e-05/0.01412, allocations: 84.34 kB / 288.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.01441, allocations: 350 kB / 289.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.01441, allocations: 4 kB / 289.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.01457, allocations: 310 kB / 289.6 MB, free: 276 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.01475, allocations: 36.48 kB / 289.6 MB, free: 240 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007072/0.01546, allocations: 494.8 kB / 290.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.455e-05/0.01552, allocations: 92.55 kB / 290.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.398e-05/0.01558, allocations: 21.94 kB / 290.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.01569, allocations: 99.34 kB / 290.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0157, allocations: 0 / 290.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of Templates: time 0.005474/0.02117, allocations: 3.757 MB / 294.1 MB, free: 11.8 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.6335054663941264]