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.001283/0.001283, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001508/0.001508, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 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 1.457/1.457, allocations: 230.5 MB / 258.1 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001906/0.001906, allocations: 63.89 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2737, allocations: 53.41 MB / 432.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003976/0.2777, allocations: 2.174 MB / 434.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2789, allocations: 0.6233 MB / 435.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.279, allocations: 4 kB / 435.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.2792, allocations: 15.8 kB / 435.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.2793, allocations: 59.55 kB / 435.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.2795, allocations: 47.88 kB / 435.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.2798, allocations: 159.2 kB / 435.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.28, allocations: 45.64 kB / 435.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.2801, allocations: 63.73 kB / 435.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.2803, allocations: 63.75 kB / 435.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.2803, allocations: 16 kB / 435.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.2804, allocations: 27.98 kB / 435.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.2804, allocations: 31.86 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.2805, allocations: 75.61 kB / 435.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.2808, allocations: 160.6 kB / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2808, allocations: 3.938 kB / 436 MB, free: 3.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.2808, allocations: 7.984 kB / 436 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2808, allocations: 0 / 436 MB, free: 3.133 MB / 334.1 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.000697/0.2815, allocations: 373.8 kB / 436.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2815, allocations: 12.03 kB / 436.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.2817, allocations: 28.83 kB / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.282, allocations: 153 kB / 436.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.282, allocations: 8.609 kB / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.282, allocations: 12.38 kB / 436.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.2823, allocations: 119.8 kB / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2823, allocations: 0 / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.2823, allocations: 8 kB / 436.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.2823, allocations: 4 kB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.2825, allocations: 76.67 kB / 436.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.2835, allocations: 0.5736 MB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.2838, allocations: 82.61 kB / 437.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.754e-05/0.2838, allocations: 28.98 kB / 437.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2839, allocations: 0 / 437.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.2839, allocations: 34.55 kB / 437.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.2839, allocations: 4 kB / 437.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006783/0.2846, allocations: 174.3 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.2846, allocations: 59.28 kB / 437.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.2848, allocations: 153.1 kB / 437.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.2848, allocations: 25.7 kB / 437.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.285, allocations: 132.1 kB / 438 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.285, allocations: 27.8 kB / 438.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.2851, allocations: 21.7 kB / 438.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2852, allocations: 322.8 kB / 438.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.2853, allocations: 20 kB / 438.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.2854, allocations: 46.56 kB / 438.5 MB, free: 468 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.2855, allocations: 74.48 kB / 438.5 MB, free: 384 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2855, allocations: 4 kB / 438.5 MB, free: 380 kB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002999/0.2858, allocations: 142.3 kB / 438.7 MB, free: 228 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2859, allocations: 4 kB / 438.7 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2859, allocations: 0 / 438.7 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.2861, allocations: 40.89 kB / 438.7 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.2861, allocations: 8.125 kB / 438.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.288, allocations: 1.586 MB / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.2881, allocations: 7.953 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.2881, allocations: 3.984 kB / 440.3 MB, free: 14.46 MB / 350.1 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 0.000127/0.2882, allocations: 129.8 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.2883, allocations: 7.953 kB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.2883, allocations: 12.72 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2883, allocations: 0 / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.2883, allocations: 0 / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2883, allocations: 48 / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.2885, allocations: 192.6 kB / 440.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2885, allocations: 0 / 440.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.2886, allocations: 7.984 kB / 440.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.2887, allocations: 36.84 kB / 440.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2887, allocations: 3.984 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.2902, allocations: 1.574 MB / 442.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2902, allocations: 0 / 442.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.2906, allocations: 216.2 kB / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.2906, allocations: 12.02 kB / 442.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.2906, allocations: 0 / 442.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2907, allocations: 8 kB / 442.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.2908, allocations: 15.86 kB / 442.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2908, allocations: 0 / 442.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.2909, allocations: 119.2 kB / 442.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2909, allocations: 0 / 442.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.2912, allocations: 39.89 kB / 442.7 MB, free: 11.91 MB / 350.1 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 0.0001305/0.2914, allocations: 102.2 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004392/0.2918, allocations: 186.6 kB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2918, allocations: 0 / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.292, allocations: 154.6 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2923, allocations: 23.48 kB / 443.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.293, allocations: 322.2 kB / 443.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.2934, allocations: 0.708 MB / 444.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.2934, allocations: 11.38 kB / 444.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2934, allocations: 7.938 kB / 444.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Templates: time 0.004488/0.2979, allocations: 1.941 MB / 446.1 MB, free: 8.383 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.2107815789058805]