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.001085/0.001085, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001108/0.001108, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9604/0.9604, allocations: 177 MB / 204.8 MB, free: 5.594 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 2.184e-06/2.184e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.055e-05, allocations: 5.266 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003579/0.00361, allocations: 2.213 MB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.004738, allocations: 0.6036 MB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.004865, allocations: 11.94 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.005017, allocations: 19.78 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.005136, allocations: 47.58 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.005471, allocations: 47.92 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.005739, allocations: 171.1 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.005898, allocations: 33.66 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.006138, allocations: 107.7 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.006253, allocations: 51.81 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.006282, allocations: 16 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.006367, allocations: 20 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.006401, allocations: 27.91 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.00647, allocations: 55.84 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.006717, allocations: 111.6 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.006721, allocations: 0 / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.006722, allocations: 0 / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.006727, allocations: 0 / 276.4 MB, free: 13.91 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.0005923/0.007319, allocations: 468.1 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.007368, allocations: 19.98 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.00759, allocations: 40.7 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.007822, allocations: 155.2 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.00784, allocations: 12.61 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.007862, allocations: 12.38 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.008096, allocations: 134.4 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.008107, allocations: 4.172 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.008124, allocations: 4.375 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.008136, allocations: 7.938 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.008241, allocations: 40.67 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.009007, allocations: 486.6 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.009276, allocations: 71.05 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.009336, allocations: 23.8 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.009353, allocations: 0 / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.009387, allocations: 41.33 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.009388, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005437/0.009932, allocations: 149.1 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.009963, allocations: 51.41 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.0101, allocations: 201.8 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.01012, allocations: 33.7 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.0102, allocations: 166.9 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.01022, allocations: 27.78 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.01027, allocations: 27.38 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.01041, allocations: 0.4884 MB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.01045, allocations: 15.94 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.0105, allocations: 35.05 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.543e-05/0.01058, allocations: 55.05 kB / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01059, allocations: 3.938 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002163/0.0108, allocations: 109.2 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01082, allocations: 4 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01082, allocations: 4 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.01102, allocations: 39.66 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/0.01106, allocations: 4 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.01263, allocations: 2.106 MB / 281.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.01268, allocations: 4 kB / 281.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.01269, allocations: 0 / 281.4 MB, free: 8.535 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 0.0001083/0.0128, allocations: 164.6 kB / 281.6 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.01284, allocations: 7.953 kB / 281.6 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.01286, allocations: 16.81 kB / 281.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01286, allocations: 7.938 kB / 281.6 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.01286, allocations: 0 / 281.6 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01287, allocations: 0 / 281.6 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.01305, allocations: 156.5 kB / 281.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01305, allocations: 0 / 281.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.01308, allocations: 4 kB / 281.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.01321, allocations: 35.66 kB / 281.8 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.01322, allocations: 4 kB / 281.8 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.01445, allocations: 2.079 MB / 283.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.01445, allocations: 3.938 kB / 283.9 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.01469, allocations: 243.5 kB / 284.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.0147, allocations: 7.891 kB / 284.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.01472, allocations: 15.86 kB / 284.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.0148, allocations: 12.03 kB / 284.2 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.01487, allocations: 3.984 kB / 284.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01488, allocations: 4 kB / 284.2 MB, free: 5.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.01499, allocations: 146.5 kB / 284.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01499, allocations: 0 / 284.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.01545, allocations: 43.94 kB / 284.4 MB, free: 5.402 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 0.0001148/0.01556, allocations: 91.25 kB / 284.5 MB, free: 5.301 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.01592, allocations: 232.4 kB / 284.7 MB, free: 5.055 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01592, allocations: 0 / 284.7 MB, free: 5.055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.01609, allocations: 217.5 kB / 284.9 MB, free: 4.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.0164, allocations: 20.52 kB / 284.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008445/0.01725, allocations: 283.5 kB / 285.2 MB, free: 4.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.0173, allocations: 63.34 kB / 285.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.244e-05/0.01734, allocations: 8.484 kB / 285.3 MB, free: 4.402 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.01737, allocations: 12.5 kB / 285.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01737, allocations: 0 / 285.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of Templates: time 0.00454/0.02191, allocations: 1.552 MB / 286.8 MB, free: 2.859 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.7443065610714257]