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.0009563/0.0009563, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.0009623/0.0009623, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.9236/0.9236, allocations: 177 MB / 205.9 MB, free: 4.465 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.363e-06/1.363e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.564e-05, allocations: 5.266 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.002348/0.002364, allocations: 2.198 MB / 276.3 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007445/0.003109, allocations: 0.6062 MB / 276.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.003192, allocations: 4 kB / 276.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.003298, allocations: 16.42 kB / 276.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.664e-05/0.003365, allocations: 45.38 kB / 277 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.003557, allocations: 59.86 kB / 277 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.00372, allocations: 163.1 kB / 277.2 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.003833, allocations: 38.08 kB / 277.2 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.003982, allocations: 100.3 kB / 277.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.004063, allocations: 51.81 kB / 277.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.00409, allocations: 12.66 kB / 277.4 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.569e-05/0.004146, allocations: 30.45 kB / 277.4 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.004168, allocations: 31.78 kB / 277.5 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.00421, allocations: 43.92 kB / 277.5 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.004367, allocations: 115.6 kB / 277.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004369, allocations: 3.938 kB / 277.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.004369, allocations: 0 / 277.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004373, allocations: 0 / 277.6 MB, free: 0.7617 MB / 250.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.0003944/0.004767, allocations: 476.2 kB / 278.1 MB, free: 264 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.004796, allocations: 8.031 kB / 278.1 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.004928, allocations: 40.77 kB / 278.1 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.005075, allocations: 156.4 kB / 278.3 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.005086, allocations: 8.609 kB / 278.3 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.005099, allocations: 12.38 kB / 278.3 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.005238, allocations: 118.5 kB / 278.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005247, allocations: 4.172 kB / 278.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.005257, allocations: 16.36 kB / 278.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.005263, allocations: 3.938 kB / 278.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.005307, allocations: 28.69 kB / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.005723, allocations: 463.1 kB / 278.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.005861, allocations: 71.09 kB / 279 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.005882, allocations: 15.69 kB / 279 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.005892, allocations: 0 / 279 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.005913, allocations: 49.5 kB / 279.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.005914, allocations: 0 / 279.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003108/0.006225, allocations: 137.1 kB / 279.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.006246, allocations: 55.34 kB / 279.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.006337, allocations: 205.2 kB / 279.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.006348, allocations: 25.7 kB / 279.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.006417, allocations: 178.9 kB / 279.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.006428, allocations: 19.8 kB / 279.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.006462, allocations: 31.34 kB / 279.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.00657, allocations: 0.4961 MB / 280.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.006583, allocations: 4 kB / 280.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.006612, allocations: 38.98 kB / 280.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.734e-05/0.006659, allocations: 50.98 kB / 280.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006661, allocations: 4.25 kB / 280.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001235/0.006784, allocations: 101.2 kB / 280.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.006795, allocations: 7.938 kB / 280.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.0068, allocations: 7.938 kB / 280.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.006914, allocations: 39.59 kB / 280.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.684e-05/0.00694, allocations: 8 kB / 280.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009194/0.00786, allocations: 2.06 MB / 282.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.557e-05/0.007895, allocations: 11.92 kB / 282.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.007901, allocations: 4 kB / 282.5 MB, free: 11.5 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.222e-05/0.007973, allocations: 160.6 kB / 282.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.008, allocations: 11.95 kB / 282.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.121e-05/0.008011, allocations: 8.781 kB / 282.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-06/0.008013, allocations: 4 kB / 282.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.008014, allocations: 128 / 282.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.008018, allocations: 7.938 kB / 282.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.008124, allocations: 133.1 kB / 282.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.008125, allocations: 0 / 282.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-05/0.008138, allocations: 4 kB / 282.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-05/0.008218, allocations: 43.59 kB / 282.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.008222, allocations: 0 / 282.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007823/0.009004, allocations: 2.036 MB / 284.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.009005, allocations: 0 / 284.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.009145, allocations: 247.5 kB / 285.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.009154, allocations: 15.88 kB / 285.2 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.009163, allocations: 8 kB / 285.2 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.00921, allocations: 7.984 kB / 285.2 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.00923, allocations: 0 / 285.2 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.009234, allocations: 3.984 kB / 285.2 MB, free: 8.637 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.009279, allocations: 151.1 kB / 285.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009279, allocations: 0 / 285.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.009491, allocations: 32 kB / 285.4 MB, free: 8.457 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 6.688e-05/0.009558, allocations: 102.5 kB / 285.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.009759, allocations: 232.2 kB / 285.7 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.00976, allocations: 3.938 kB / 285.7 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.807e-05/0.009858, allocations: 201.5 kB / 285.9 MB, free: 7.879 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.01003, allocations: 12 kB / 285.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.01049, allocations: 286.5 kB / 286.2 MB, free: 7.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.01053, allocations: 71.33 kB / 286.3 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.511e-05/0.01056, allocations: 4.5 kB / 286.3 MB, free: 7.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.01061, allocations: 82.19 kB / 286.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01061, allocations: 0 / 286.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of Templates: time 0.002933/0.01354, allocations: 1.62 MB / 288 MB, free: 5.797 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.656206989195198]