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.001067/0.001067, allocations: 88.34 kB / 22.22 MB, free: 2.281 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.00126/0.00126, allocations: 169.3 kB / 25.61 MB, free: 8.914 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.9577/0.9577, allocations: 177 MB / 205.9 MB, free: 4.438 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.563e-06/1.563e-06, allocations: 0 / 274.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.956e-05, allocations: 4.141 kB / 274.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004089/0.004108, allocations: 2.999 MB / 277.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.005757, allocations: 0.7417 MB / 277.9 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.005956, allocations: 4 kB / 277.9 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.006153, allocations: 59.44 kB / 277.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.006459, allocations: 115.6 kB / 278 MB, free: 440 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.006859, allocations: 99.8 kB / 278.1 MB, free: 340 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000486/0.007345, allocations: 426.1 kB / 278.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.007546, allocations: 75.62 kB / 278.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.007967, allocations: 231.5 kB / 278.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.008261, allocations: 127.6 kB / 279 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.008318, allocations: 28 kB / 279 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.266e-05/0.008411, allocations: 47.98 kB / 279.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.008473, allocations: 67.75 kB / 279.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.008603, allocations: 127.7 kB / 279.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.008962, allocations: 275 kB / 279.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.008965, allocations: 0 / 279.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.008966, allocations: 0 / 279.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.008972, allocations: 0 / 279.5 MB, free: 14.95 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.0008346/0.009806, allocations: 0.6596 MB / 280.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.009843, allocations: 8.031 kB / 280.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.01005, allocations: 80.69 kB / 280.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.01035, allocations: 224 kB / 280.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.01037, allocations: 21.03 kB / 280.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.01041, allocations: 24.38 kB / 280.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.01092, allocations: 353.5 kB / 280.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.01093, allocations: 192 / 280.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.01096, allocations: 12.38 kB / 280.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.01097, allocations: 7.938 kB / 280.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.01114, allocations: 80.52 kB / 281 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.01243, allocations: 0.8021 MB / 281.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.01276, allocations: 167.4 kB / 281.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.01284, allocations: 59.53 kB / 282 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.01286, allocations: 4 kB / 282 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.01289, allocations: 41.38 kB / 282 MB, free: 12.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.234e-06/0.01289, allocations: 0 / 282 MB, free: 12.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007667/0.01366, allocations: 291.5 kB / 282.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.01369, allocations: 59.34 kB / 282.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.0139, allocations: 280.2 kB / 282.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.01393, allocations: 37.64 kB / 282.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.01405, allocations: 239.2 kB / 282.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.0141, allocations: 71.38 kB / 283 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.01418, allocations: 55.56 kB / 283 MB, free: 11.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.01433, allocations: 0.5078 MB / 283.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-05/0.01439, allocations: 24.45 kB / 283.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.01447, allocations: 63.95 kB / 283.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.01463, allocations: 104.7 kB / 283.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01463, allocations: 0 / 283.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003655/0.015, allocations: 213.5 kB / 284 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01501, allocations: 4 kB / 284 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01502, allocations: 4 kB / 284 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.01534, allocations: 99.34 kB / 284.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.01549, allocations: 31.92 kB / 284.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.01777, allocations: 3.63 MB / 287.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.01791, allocations: 23.78 kB / 287.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.01792, allocations: 8 kB / 287.8 MB, free: 6.188 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 0.0001132/0.01804, allocations: 172.6 kB / 287.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.01809, allocations: 27.86 kB / 287.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.01813, allocations: 30.27 kB / 288 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01813, allocations: 4 kB / 288 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.01814, allocations: 0 / 288 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01815, allocations: 3.984 kB / 288 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/0.01879, allocations: 0.5051 MB / 288.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01879, allocations: 0 / 288.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.349e-05/0.01888, allocations: 19.98 kB / 288.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/0.01913, allocations: 95.23 kB / 288.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.01915, allocations: 8 kB / 288.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.02132, allocations: 3.612 MB / 292.2 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02132, allocations: 3.938 kB / 292.2 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.02168, allocations: 350.5 kB / 292.6 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.02172, allocations: 31.72 kB / 292.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.02175, allocations: 4 kB / 292.6 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.02194, allocations: 32.02 kB / 292.6 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.022, allocations: 27.89 kB / 292.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.02201, allocations: 0 / 292.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.02213, allocations: 193.1 kB / 292.8 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02213, allocations: 4 kB / 292.9 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003916/0.02252, allocations: 87.89 kB / 292.9 MB, free: 0.6758 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 0.0001064/0.02263, allocations: 103.2 kB / 293 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.02311, allocations: 478.5 kB / 293.5 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.02312, allocations: 4 kB / 293.5 MB, free: 60 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.02342, allocations: 419.2 kB / 293.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.0238, allocations: 45.88 kB / 294 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009712/0.02477, allocations: 474.6 kB / 294.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.923e-05/0.02484, allocations: 100.2 kB / 294.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.781e-05/0.02493, allocations: 17.95 kB / 294.5 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.02511, allocations: 122.2 kB / 294.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02511, allocations: 4 kB / 294.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of Templates: time 0.008092/0.0332, allocations: 3.932 MB / 298.6 MB, free: 10.96 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.9659303170628846]