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.001049/0.001049, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001653/0.002703, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001088/0.001088, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002554, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9707/0.9707, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.074, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.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.282e-06/1.282e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.881e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003093/0.003112, allocations: 3.059 MB / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.004293, allocations: 0.7708 MB / 249.1 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.004403, allocations: 4 kB / 249.1 MB, free: 9.707 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.778e-05/0.004501, allocations: 59.38 kB / 249.1 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.004638, allocations: 111 kB / 249.2 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.004844, allocations: 103.8 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.005176, allocations: 429.9 kB / 249.7 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.005316, allocations: 90.77 kB / 249.8 MB, free: 8.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.00562, allocations: 252.1 kB / 250.1 MB, free: 8.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.005748, allocations: 123.6 kB / 250.2 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.005785, allocations: 32 kB / 250.2 MB, free: 8.531 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.622e-05/0.005871, allocations: 40 kB / 250.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.005908, allocations: 55.75 kB / 250.3 MB, free: 8.438 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.005979, allocations: 103.8 kB / 250.4 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.006266, allocations: 247.1 kB / 250.7 MB, free: 8.094 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.00628, allocations: 4 kB / 250.7 MB, free: 8.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.006282, allocations: 0 / 250.7 MB, free: 8.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.006294, allocations: 0 / 250.7 MB, free: 8.09 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.0007326/0.007026, allocations: 0.6049 MB / 251.3 MB, free: 7.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.007056, allocations: 19.97 kB / 251.3 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.007225, allocations: 130 kB / 251.4 MB, free: 7.297 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.007422, allocations: 189.3 kB / 251.6 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.007439, allocations: 24.97 kB / 251.6 MB, free: 7.062 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.007472, allocations: 28.38 kB / 251.7 MB, free: 7.035 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.007736, allocations: 345.5 kB / 252 MB, free: 6.648 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.007746, allocations: 192 / 252 MB, free: 6.648 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.007764, allocations: 12.38 kB / 252 MB, free: 6.637 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.007772, allocations: 11.94 kB / 252 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.291e-05/0.007855, allocations: 68.55 kB / 252.1 MB, free: 6.562 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.008895, allocations: 0.6504 MB / 252.7 MB, free: 5.879 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.009132, allocations: 154.8 kB / 252.9 MB, free: 5.723 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.00918, allocations: 52.72 kB / 252.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.009196, allocations: 4 kB / 252.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.009221, allocations: 34.56 kB / 253 MB, free: 5.621 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.009223, allocations: 0 / 253 MB, free: 5.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004697/0.009692, allocations: 262.4 kB / 253.2 MB, free: 5.355 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.009718, allocations: 55.41 kB / 253.3 MB, free: 5.289 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.009846, allocations: 229 kB / 253.5 MB, free: 5.051 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.009864, allocations: 37.64 kB / 253.5 MB, free: 5.008 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.009934, allocations: 173 kB / 253.7 MB, free: 4.832 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.009966, allocations: 67.38 kB / 253.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.01001, allocations: 45.92 kB / 253.8 MB, free: 4.711 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.01009, allocations: 334.8 kB / 254.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.01012, allocations: 24.45 kB / 254.2 MB, free: 4.352 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.289e-05/0.01017, allocations: 47.48 kB / 254.2 MB, free: 4.297 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.864e-05/0.01027, allocations: 107 kB / 254.3 MB, free: 4.184 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01027, allocations: 4 kB / 254.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002169/0.01049, allocations: 175 kB / 254.5 MB, free: 3.996 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.0105, allocations: 4 kB / 254.5 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.01051, allocations: 4 kB / 254.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.01075, allocations: 89.69 kB / 254.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.01085, allocations: 43.91 kB / 254.6 MB, free: 3.852 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.01203, allocations: 2.487 MB / 257.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.01212, allocations: 31.77 kB / 257.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01213, allocations: 11.94 kB / 257.2 MB, free: 1.148 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 7.374e-05/0.0122, allocations: 117.9 kB / 257.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.01223, allocations: 27.97 kB / 257.3 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.01226, allocations: 26.28 kB / 257.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01226, allocations: 4 kB / 257.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.01226, allocations: 3.938 kB / 257.3 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.01227, allocations: 3.984 kB / 257.4 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.01266, allocations: 388.3 kB / 257.7 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01266, allocations: 3.984 kB / 257.7 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.01272, allocations: 27.98 kB / 257.8 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.01275, allocations: 23.8 kB / 257.8 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.01289, allocations: 81.59 kB / 257.9 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.0129, allocations: 8 kB / 257.9 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.01426, allocations: 2.494 MB / 260.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01426, allocations: 8.031 kB / 260.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.01444, allocations: 257.6 kB / 260.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.01445, allocations: 4 kB / 260.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01455, allocations: 19.98 kB / 260.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.01459, allocations: 31.89 kB / 260.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.0146, allocations: 8 kB / 260.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.168e-05/0.01466, allocations: 74.78 kB / 260.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01466, allocations: 0 / 260.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000224/0.01488, allocations: 95.84 kB / 260.9 MB, free: 13.22 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.807e-05/0.01497, allocations: 84.36 kB / 260.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.01525, allocations: 358 kB / 261.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.01526, allocations: 8 kB / 261.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.01542, allocations: 316.8 kB / 261.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.01572, allocations: 418.9 kB / 262 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.01842, allocations: 0.4928 MB / 262.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.397e-05/0.01847, allocations: 92.56 kB / 262.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.188e-05/0.01853, allocations: 21.92 kB / 262.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.01865, allocations: 99.34 kB / 262.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01865, allocations: 4 kB / 262.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of Templates: time 0.005671/0.02432, allocations: 3.959 MB / 266.7 MB, free: 7.254 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.578950476832688]