Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.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.001189/0.001189, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.000958/0.000958, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9447/0.9447, allocations: 177 MB / 205.2 MB, free: 5.039 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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.143e-05, allocations: 2.312 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.002505/0.002526, allocations: 2.234 MB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008175/0.003344, allocations: 0.6152 MB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.003422, allocations: 0 / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.003533, allocations: 23.78 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.003606, allocations: 51.5 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.003812, allocations: 55.86 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.003957, allocations: 167.1 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.004059, allocations: 42.3 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.004203, allocations: 99.72 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.004284, allocations: 51.83 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.004303, allocations: 12 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.004366, allocations: 19.98 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.004385, allocations: 23.92 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.004424, allocations: 55.83 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.004636, allocations: 111.6 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.00464, allocations: 8 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004641, allocations: 0 / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.257e-06/0.004644, allocations: 0 / 277 MB, free: 13.43 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003265/0.00497, allocations: 348.4 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.004999, allocations: 11.98 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.005124, allocations: 32.91 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.005258, allocations: 137.6 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.005272, allocations: 16.55 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.005294, allocations: 20.36 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.005477, allocations: 122.5 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.005485, allocations: 192 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.005498, allocations: 8.375 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.005506, allocations: 7.938 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.56e-05/0.005572, allocations: 24.69 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.006028, allocations: 351.1 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.006159, allocations: 62.53 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.006179, allocations: 16.86 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.006188, allocations: 0 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.006207, allocations: 34.56 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.006208, allocations: 0 / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002865/0.006494, allocations: 130.5 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.006516, allocations: 51.41 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.006589, allocations: 147.7 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.006601, allocations: 29.7 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.006645, allocations: 128.1 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.006655, allocations: 15.8 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.006784, allocations: 29.69 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.905e-05/0.006853, allocations: 322.8 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.006865, allocations: 11.98 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.006887, allocations: 26.58 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.332e-05/0.006931, allocations: 46.48 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006932, allocations: 0 / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001059/0.007038, allocations: 90.44 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.00705, allocations: 7.938 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.007053, allocations: 0 / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000107/0.00716, allocations: 32.89 kB / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.111e-05/0.007192, allocations: 15.92 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007689/0.00796, allocations: 1.41 MB / 280.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.007991, allocations: 11.97 kB / 280.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.007998, allocations: 7.984 kB / 280.7 MB, free: 9.488 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.008053, allocations: 113.8 kB / 280.8 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.008073, allocations: 8 kB / 280.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.008086, allocations: 12.77 kB / 280.8 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.01e-07/0.008086, allocations: 3.938 kB / 280.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-07/0.008087, allocations: 4 kB / 280.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.008089, allocations: 0 / 280.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.68e-05/0.008185, allocations: 101.7 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008187, allocations: 0 / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.0082, allocations: 8 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.258e-05/0.008282, allocations: 32.83 kB / 280.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.008286, allocations: 0 / 280.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00076/0.009046, allocations: 1.403 MB / 282.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009047, allocations: 80 / 282.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.009162, allocations: 176.2 kB / 282.5 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.009171, allocations: 11.94 kB / 282.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.009179, allocations: 3.984 kB / 282.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.692e-05/0.009226, allocations: 11.98 kB / 282.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.009251, allocations: 7.984 kB / 282.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.009255, allocations: 0 / 282.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.568e-05/0.00928, allocations: 36.33 kB / 282.6 MB, free: 7.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.00928, allocations: 0 / 282.6 MB, free: 7.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.009476, allocations: 43.98 kB / 282.6 MB, free: 7.383 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 5.701e-05/0.009533, allocations: 72.42 kB / 282.7 MB, free: 7.301 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.009707, allocations: 170.2 kB / 282.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.00971, allocations: 0 / 282.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.295e-05/0.009793, allocations: 155.4 kB / 283 MB, free: 6.953 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.009913, allocations: 12.44 kB / 283 MB, free: 6.941 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.0104, allocations: 288.6 kB / 283.3 MB, free: 6.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.01043, allocations: 67.34 kB / 283.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.706e-05/0.01046, allocations: 8.484 kB / 283.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.01051, allocations: 59.38 kB / 283.4 MB, free: 6.477 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01051, allocations: 0 / 283.4 MB, free: 6.477 MB / 266.7 MB Notification: Performance of Templates: time 0.003091/0.0136, allocations: 1.556 MB / 285 MB, free: 4.941 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.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.557737979106605]