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.001026/0.001026, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001395/0.001395, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9957/0.9957, allocations: 177 MB / 205.2 MB, free: 5.531 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 4.288e-06/4.288e-06, allocations: 4 kB / 273 MB, free: 1.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.321e-05, allocations: 5.406 kB / 273 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003389/0.003422, allocations: 2.197 MB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007394/0.004161, allocations: 0.6036 MB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.004241, allocations: 7.938 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.004352, allocations: 19.8 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.005e-05/0.004412, allocations: 43.56 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.004625, allocations: 55.88 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.004781, allocations: 163.1 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.004907, allocations: 52.84 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.00506, allocations: 99.72 kB / 276.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.00514, allocations: 47.89 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.005162, allocations: 12 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.719e-05/0.005219, allocations: 20 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.005242, allocations: 35.83 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.005284, allocations: 43.92 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.005447, allocations: 119.6 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.00545, allocations: 0 / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005451, allocations: 0 / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.005456, allocations: 0 / 276.5 MB, free: 14.16 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.0004571/0.005913, allocations: 484.1 kB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.005949, allocations: 11.98 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.006102, allocations: 28.84 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.006276, allocations: 159.5 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.006287, allocations: 8.609 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.006304, allocations: 12.38 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.006465, allocations: 130.4 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.006471, allocations: 192 / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.006485, allocations: 8.375 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.006493, allocations: 3.938 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.42e-05/0.006567, allocations: 44.67 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.007081, allocations: 490.5 kB / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.007259, allocations: 75.11 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.007291, allocations: 15.69 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.007305, allocations: 4.109 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.007327, allocations: 41.33 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.007328, allocations: 4 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003636/0.007692, allocations: 145.1 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.007718, allocations: 51.41 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.00783, allocations: 209.2 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.007842, allocations: 29.7 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.007913, allocations: 178.8 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.007927, allocations: 19.86 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.007959, allocations: 31.3 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.008067, allocations: 0.4884 MB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.00809, allocations: 15.92 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.008127, allocations: 39.05 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.871e-05/0.008186, allocations: 51 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.008188, allocations: 0 / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001478/0.008336, allocations: 121.2 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.008351, allocations: 4 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.008355, allocations: 0 / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.008503, allocations: 31.92 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.642e-05/0.00854, allocations: 19.92 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.009671, allocations: 2.094 MB / 281.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.009708, allocations: 4 kB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.009715, allocations: 4 kB / 281.5 MB, free: 8.785 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 7.116e-05/0.009786, allocations: 160.5 kB / 281.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.009807, allocations: 11.95 kB / 281.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.009821, allocations: 20.8 kB / 281.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.009823, allocations: 3.938 kB / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.009824, allocations: 0 / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.009826, allocations: 0 / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.00994, allocations: 152.6 kB / 281.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.009941, allocations: 0 / 281.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.009958, allocations: 7.984 kB / 281.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.961e-05/0.01005, allocations: 35.8 kB / 281.9 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.01005, allocations: 4 kB / 281.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008643/0.01092, allocations: 2.079 MB / 284 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01092, allocations: 4 kB / 284 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.01108, allocations: 243.4 kB / 284.2 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.01109, allocations: 15.89 kB / 284.2 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.0111, allocations: 3.938 kB / 284.2 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.842e-05/0.01115, allocations: 8.219 kB / 284.3 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.01118, allocations: 7.984 kB / 284.3 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.01119, allocations: 8 kB / 284.3 MB, free: 5.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.681e-05/0.01124, allocations: 147.2 kB / 284.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01124, allocations: 0 / 284.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.01147, allocations: 39.95 kB / 284.5 MB, free: 5.652 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 8.064e-05/0.01155, allocations: 95.19 kB / 284.5 MB, free: 5.547 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.0118, allocations: 236.3 kB / 284.8 MB, free: 5.297 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0118, allocations: 0 / 284.8 MB, free: 5.297 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.861e-05/0.0119, allocations: 213.4 kB / 285 MB, free: 5.066 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.01208, allocations: 12 kB / 285 MB, free: 5.055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.01269, allocations: 278.5 kB / 285.3 MB, free: 4.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.166e-05/0.01273, allocations: 71.33 kB / 285.3 MB, free: 4.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.852e-05/0.01276, allocations: 4.5 kB / 285.3 MB, free: 4.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.01278, allocations: 8.5 kB / 285.4 MB, free: 4.648 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01278, allocations: 0 / 285.4 MB, free: 4.648 MB / 266.7 MB Notification: Performance of Templates: time 0.003088/0.01587, allocations: 1.505 MB / 286.9 MB, free: 3.16 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 -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.7878235469106585]