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.00149/0.00149, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001542/0.001542, allocations: 211.8 kB / 24.54 MB, free: 4.016 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.468/1.468, allocations: 230.3 MB / 258 MB, free: 8.273 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.001993/0.001993, allocations: 63.89 kB / 378.8 MB, free: 2.793 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2627, allocations: 53.36 MB / 432.1 MB, free: 7.113 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003578/0.2663, allocations: 2.186 MB / 434.3 MB, free: 4.918 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001132/0.2674, allocations: 0.6234 MB / 434.9 MB, free: 4.289 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2675, allocations: 3.938 kB / 434.9 MB, free: 4.285 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.2676, allocations: 23.78 kB / 435 MB, free: 4.262 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.553e-05/0.2677, allocations: 43.62 kB / 435 MB, free: 4.219 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.268, allocations: 51.81 kB / 435.1 MB, free: 4.168 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002108/0.2682, allocations: 159.3 kB / 435.2 MB, free: 4.012 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.2683, allocations: 41.64 kB / 435.2 MB, free: 3.965 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.2685, allocations: 67.8 kB / 435.3 MB, free: 3.898 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.2686, allocations: 79.55 kB / 435.4 MB, free: 3.82 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.2686, allocations: 12 kB / 435.4 MB, free: 3.809 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.2687, allocations: 24 kB / 435.4 MB, free: 3.785 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.2687, allocations: 27.86 kB / 435.5 MB, free: 3.758 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.469e-05/0.2688, allocations: 71.67 kB / 435.5 MB, free: 3.688 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2691, allocations: 169 kB / 435.7 MB, free: 3.527 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2691, allocations: 0 / 435.7 MB, free: 3.527 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.082e-06/0.2691, allocations: 0 / 435.7 MB, free: 3.527 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 4.979e-06/0.2691, allocations: 0 / 435.7 MB, free: 3.527 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.0006099/0.2697, allocations: 373.8 kB / 436.1 MB, free: 3.129 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2697, allocations: 8.031 kB / 436.1 MB, free: 3.121 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.2699, allocations: 28.83 kB / 436.1 MB, free: 3.094 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.2702, allocations: 154.3 kB / 436.2 MB, free: 2.918 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2703, allocations: 16.59 kB / 436.3 MB, free: 2.902 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.2703, allocations: 8.375 kB / 436.3 MB, free: 2.895 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.2706, allocations: 131.8 kB / 436.4 MB, free: 2.762 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2706, allocations: 0 / 436.4 MB, free: 2.762 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.2706, allocations: 4 kB / 436.4 MB, free: 2.758 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.2706, allocations: 4 kB / 436.4 MB, free: 2.754 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.2708, allocations: 80.66 kB / 436.5 MB, free: 2.676 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008896/0.2717, allocations: 0.562 MB / 437 MB, free: 2.039 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.272, allocations: 86.56 kB / 437.1 MB, free: 1.945 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.2721, allocations: 28.97 kB / 437.2 MB, free: 1.914 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.2721, allocations: 4 kB / 437.2 MB, free: 1.91 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.2721, allocations: 30.56 kB / 437.2 MB, free: 1.871 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.2721, allocations: 0 / 437.2 MB, free: 1.871 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0007143/0.2728, allocations: 174.3 kB / 437.4 MB, free: 1.691 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2729, allocations: 55.34 kB / 437.4 MB, free: 1.625 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.273, allocations: 169.2 kB / 437.6 MB, free: 1.453 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.273, allocations: 25.7 kB / 437.6 MB, free: 1.422 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.2731, allocations: 124.1 kB / 437.7 MB, free: 1.297 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.2732, allocations: 23.78 kB / 437.7 MB, free: 1.273 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.2732, allocations: 21.72 kB / 437.8 MB, free: 1.246 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001431/0.2733, allocations: 318.8 kB / 438.1 MB, free: 0.9258 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.06e-05/0.2734, allocations: 23.98 kB / 438.1 MB, free: 0.9023 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.689e-05/0.2735, allocations: 54.5 kB / 438.2 MB, free: 0.8398 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2737, allocations: 62.75 kB / 438.2 MB, free: 0.7695 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2737, allocations: 256 / 438.2 MB, free: 0.7695 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003507/0.274, allocations: 150.2 kB / 438.4 MB, free: 0.6133 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.274, allocations: 6.5 kB / 438.4 MB, free: 0.6094 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.274, allocations: 8 kB / 438.4 MB, free: 0.6016 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.2742, allocations: 36.83 kB / 438.4 MB, free: 0.5625 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.2743, allocations: 11.98 kB / 438.4 MB, free: 0.5508 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.2759, allocations: 1.573 MB / 440 MB, free: 14.87 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.276, allocations: 20.03 kB / 440 MB, free: 14.85 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.276, allocations: 4 kB / 440 MB, free: 14.84 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.0001146/0.2761, allocations: 125.7 kB / 440.1 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.2762, allocations: 11.95 kB / 440.2 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.2762, allocations: 8.719 kB / 440.2 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.2762, allocations: 0 / 440.2 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2762, allocations: 7.984 kB / 440.2 MB, free: 14.69 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2762, allocations: 0 / 440.2 MB, free: 14.69 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.2764, allocations: 188.6 kB / 440.4 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2765, allocations: 128 / 440.4 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.2765, allocations: 8 kB / 440.4 MB, free: 14.45 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/0.2766, allocations: 32.83 kB / 440.4 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2766, allocations: 8 kB / 440.4 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.2782, allocations: 1.578 MB / 442 MB, free: 12.71 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2782, allocations: 3.984 kB / 442 MB, free: 12.71 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.2785, allocations: 216.3 kB / 442.2 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.2785, allocations: 3.953 kB / 442.2 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2785, allocations: 4 kB / 442.2 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2786, allocations: 8.219 kB / 442.2 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.2787, allocations: 11.97 kB / 442.2 MB, free: 12.45 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.2787, allocations: 11.94 kB / 442.2 MB, free: 12.44 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 8.696e-05/0.2788, allocations: 111.2 kB / 442.3 MB, free: 12.33 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2788, allocations: 0 / 442.3 MB, free: 12.33 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003702/0.2792, allocations: 43.89 kB / 442.4 MB, free: 12.29 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.0001541/0.2793, allocations: 91.25 kB / 442.5 MB, free: 12.19 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004256/0.2797, allocations: 194.5 kB / 442.7 MB, free: 11.98 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2797, allocations: 4.125 kB / 442.7 MB, free: 11.98 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.28, allocations: 154.6 kB / 442.8 MB, free: 11.82 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2802, allocations: 11.94 kB / 442.8 MB, free: 11.8 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.2808, allocations: 300.7 kB / 443.1 MB, free: 11.48 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.2812, allocations: 0.7041 MB / 443.8 MB, free: 10.75 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.223e-05/0.2812, allocations: 8.422 kB / 443.8 MB, free: 10.75 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.2812, allocations: 7.438 kB / 443.8 MB, free: 10.74 MB / 350.1 MB
Notification: Performance of SimCode: time 6.41e-07/0.2812, allocations: 4 kB / 443.9 MB, free: 10.73 MB / 350.1 MB
Notification: Performance of Templates: time 0.005277/0.2865, allocations: 1.597 MB / 445.4 MB, free: 9.148 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins/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: 4.473965336568654]