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.0007217/0.0007217, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001729, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006717/0.0006717, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008658/0.001538, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9652/0.9652, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09153/1.057, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.753e-06/1.753e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.535e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.004684/0.00471, allocations: 2.246 MB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.006087, allocations: 0.6229 MB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.006236, allocations: 0 / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.006363, allocations: 23.78 kB / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.006497, allocations: 51.52 kB / 248.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.006755, allocations: 55.8 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.007012, allocations: 171.1 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.007171, allocations: 38.31 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.007479, allocations: 115.7 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.007621, allocations: 51.81 kB / 248.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.007652, allocations: 12 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.007766, allocations: 27.98 kB / 248.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.007799, allocations: 23.94 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.007853, allocations: 43.88 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.0081, allocations: 99.67 kB / 248.8 MB, free: 9.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/0.008114, allocations: 0 / 248.8 MB, free: 9.969 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.008115, allocations: 4 kB / 248.8 MB, free: 9.965 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.008128, allocations: 0 / 248.8 MB, free: 9.965 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.0005875/0.008715, allocations: 372.2 kB / 249.2 MB, free: 9.574 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.008756, allocations: 8.625 kB / 249.2 MB, free: 9.566 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.009044, allocations: 114 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.009258, allocations: 149.5 kB / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.009274, allocations: 8.609 kB / 249.4 MB, free: 9.258 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.0093, allocations: 12.38 kB / 249.4 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.00951, allocations: 122.5 kB / 249.6 MB, free: 9.113 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.00952, allocations: 192 / 249.6 MB, free: 9.113 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.009536, allocations: 8.375 kB / 249.6 MB, free: 9.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.009547, allocations: 3.938 kB / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.00962, allocations: 32.62 kB / 249.6 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.01014, allocations: 359.1 kB / 250 MB, free: 8.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.01032, allocations: 58.55 kB / 250 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.01035, allocations: 20.97 kB / 250 MB, free: 8.602 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.01036, allocations: 3.984 kB / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.01038, allocations: 38.5 kB / 250.1 MB, free: 8.551 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.01039, allocations: 0 / 250.1 MB, free: 8.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003044/0.01069, allocations: 126.3 kB / 250.2 MB, free: 8.418 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.01072, allocations: 51.41 kB / 250.2 MB, free: 8.355 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.01081, allocations: 154 kB / 250.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.01082, allocations: 29.7 kB / 250.4 MB, free: 8.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.01087, allocations: 116.1 kB / 250.5 MB, free: 8.043 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.01089, allocations: 27.8 kB / 250.6 MB, free: 8.016 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.01092, allocations: 25.69 kB / 250.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.011, allocations: 326.8 kB / 250.9 MB, free: 7.656 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.01101, allocations: 4 kB / 250.9 MB, free: 7.652 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.01104, allocations: 22.58 kB / 250.9 MB, free: 7.621 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.01109, allocations: 54.45 kB / 251 MB, free: 7.559 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01109, allocations: 0 / 251 MB, free: 7.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000126/0.01121, allocations: 86.45 kB / 251.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.01123, allocations: 15.94 kB / 251.1 MB, free: 7.449 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.01124, allocations: 0 / 251.1 MB, free: 7.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.01137, allocations: 32.83 kB / 251.1 MB, free: 7.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.895e-05/0.01141, allocations: 8 kB / 251.1 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009131/0.01232, allocations: 1.419 MB / 252.5 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.01236, allocations: 7.938 kB / 252.6 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.01237, allocations: 4 kB / 252.6 MB, free: 5.895 MB / 250.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 6.732e-05/0.01244, allocations: 105.8 kB / 252.7 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.01246, allocations: 15.98 kB / 252.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.722e-05/0.01247, allocations: 12.72 kB / 252.7 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01248, allocations: 4.031 kB / 252.7 MB, free: 5.742 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01248, allocations: 4 kB / 252.7 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01248, allocations: 3.938 kB / 252.7 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.01259, allocations: 101.7 kB / 252.8 MB, free: 5.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01259, allocations: 4 kB / 252.8 MB, free: 5.613 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.01261, allocations: 0 / 252.8 MB, free: 5.613 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.01262, allocations: 11.94 kB / 252.8 MB, free: 5.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.139e-05/0.01271, allocations: 28.84 kB / 252.8 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.01271, allocations: 0 / 252.8 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007406/0.01345, allocations: 1.408 MB / 254.3 MB, free: 4.082 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01346, allocations: 3.984 kB / 254.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.01359, allocations: 176.2 kB / 254.4 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-06/0.0136, allocations: 0 / 254.4 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.223e-05/0.01365, allocations: 4 kB / 254.4 MB, free: 3.883 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.01368, allocations: 12.02 kB / 254.4 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.01369, allocations: 4 kB / 254.5 MB, free: 3.867 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.144e-05/0.01372, allocations: 36.75 kB / 254.5 MB, free: 3.828 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01372, allocations: 0 / 254.5 MB, free: 3.828 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.01394, allocations: 39.94 kB / 254.5 MB, free: 3.789 MB / 250.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.782e-05/0.01402, allocations: 76.42 kB / 254.6 MB, free: 3.703 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.01422, allocations: 166.2 kB / 254.8 MB, free: 3.527 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.01423, allocations: 12.08 kB / 254.8 MB, free: 3.516 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.01433, allocations: 155.4 kB / 254.9 MB, free: 3.348 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.01453, allocations: 71.41 kB / 255 MB, free: 3.266 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.01623, allocations: 289 kB / 255.3 MB, free: 2.957 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.201e-05/0.01628, allocations: 71.33 kB / 255.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.916e-05/0.01632, allocations: 4.5 kB / 255.4 MB, free: 2.863 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.01639, allocations: 59.36 kB / 255.4 MB, free: 2.805 MB / 250.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01639, allocations: 0 / 255.4 MB, free: 2.805 MB / 250.7 MB Notification: Performance of Templates: time 0.003389/0.01978, allocations: 1.643 MB / 257.1 MB, free: 1.176 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4626909224316478]