Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009344/0.0009344, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.002184, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000912/0.000912, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002121, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9456/0.9456, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0875/1.033, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.239e-05, allocations: 4.844 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003646/0.003668, allocations: 2.255 MB / 246.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.00471, allocations: 0.6229 MB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.832e-05/0.004808, allocations: 4 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.15e-05/0.004889, allocations: 19.78 kB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.004991, allocations: 47.58 kB / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.005173, allocations: 59.73 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.005372, allocations: 167.1 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.005496, allocations: 38.33 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.005733, allocations: 119.6 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.005845, allocations: 51.88 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.005877, allocations: 15.94 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.005974, allocations: 19.98 kB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.006, allocations: 19.94 kB / 248 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.006054, allocations: 43.94 kB / 248 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.006266, allocations: 103.6 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.675e-05/0.006283, allocations: 3.984 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006284, allocations: 0 / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.006299, allocations: 4 kB / 248.1 MB, free: 10.7 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.0005271/0.006826, allocations: 376.2 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.006861, allocations: 8.031 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.007082, allocations: 110 kB / 248.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.007274, allocations: 141 kB / 248.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.007289, allocations: 8.609 kB / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.007308, allocations: 12.38 kB / 248.8 MB, free: 9.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.007493, allocations: 126.5 kB / 248.9 MB, free: 9.855 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.007502, allocations: 4.188 kB / 248.9 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.007515, allocations: 8.312 kB / 248.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.007523, allocations: 7.938 kB / 248.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.337e-05/0.007587, allocations: 24.69 kB / 248.9 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.00815, allocations: 351.1 kB / 249.3 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.008371, allocations: 74.45 kB / 249.3 MB, free: 9.359 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.00841, allocations: 12.98 kB / 249.4 MB, free: 9.344 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.008428, allocations: 8 kB / 249.4 MB, free: 9.336 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.008453, allocations: 30.56 kB / 249.4 MB, free: 9.297 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.008455, allocations: 3.938 kB / 249.4 MB, free: 9.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.000412/0.008867, allocations: 134.3 kB / 249.5 MB, free: 9.152 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.008896, allocations: 55.41 kB / 249.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.998e-05/0.008996, allocations: 142.6 kB / 249.7 MB, free: 8.934 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.009009, allocations: 29.7 kB / 249.7 MB, free: 8.898 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.009065, allocations: 120.1 kB / 249.9 MB, free: 8.777 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.009084, allocations: 19.84 kB / 249.9 MB, free: 8.758 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.009127, allocations: 33.64 kB / 249.9 MB, free: 8.719 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.009214, allocations: 322.8 kB / 250.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.009231, allocations: 8 kB / 250.2 MB, free: 8.387 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.009262, allocations: 26.52 kB / 250.3 MB, free: 8.352 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.953e-05/0.009322, allocations: 46.53 kB / 250.3 MB, free: 8.297 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.009324, allocations: 0 / 250.3 MB, free: 8.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000171/0.009495, allocations: 86.39 kB / 250.4 MB, free: 8.203 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.009513, allocations: 11.94 kB / 250.4 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.009519, allocations: 0 / 250.4 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.009682, allocations: 32.91 kB / 250.4 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.133e-05/0.009733, allocations: 11.98 kB / 250.4 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008617/0.01059, allocations: 1.411 MB / 251.9 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.01063, allocations: 11.97 kB / 251.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.01063, allocations: 8 kB / 251.9 MB, free: 6.633 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 9.697e-05/0.01073, allocations: 109.8 kB / 252 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.01075, allocations: 15.98 kB / 252 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.631e-05/0.01077, allocations: 8.781 kB / 252 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01077, allocations: 8.031 kB / 252 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.01077, allocations: 0 / 252 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.01078, allocations: 0 / 252 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.01088, allocations: 101.7 kB / 252.1 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01088, allocations: 0 / 252.1 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.0109, allocations: 8 kB / 252.1 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.01091, allocations: 7.953 kB / 252.1 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.473e-05/0.011, allocations: 32.83 kB / 252.2 MB, free: 6.309 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.011, allocations: 0 / 252.2 MB, free: 6.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006898/0.01169, allocations: 1.403 MB / 253.6 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01169, allocations: 0 / 253.6 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.01181, allocations: 180.2 kB / 253.7 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-06/0.01182, allocations: 3.938 kB / 253.7 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.575e-05/0.01186, allocations: 4 kB / 253.8 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.01189, allocations: 7.984 kB / 253.8 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.01189, allocations: 4 kB / 253.8 MB, free: 4.609 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.609e-05/0.01192, allocations: 35.77 kB / 253.8 MB, free: 4.574 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01192, allocations: 0 / 253.8 MB, free: 4.574 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.01211, allocations: 39.97 kB / 253.8 MB, free: 4.535 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 7.865e-05/0.01219, allocations: 88.34 kB / 253.9 MB, free: 4.438 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.01238, allocations: 158.2 kB / 254.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.01239, allocations: 4 kB / 254.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.01247, allocations: 143.4 kB / 254.2 MB, free: 4.109 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.01262, allocations: 32.05 kB / 254.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.01433, allocations: 283.5 kB / 254.5 MB, free: 3.777 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.01436, allocations: 63.34 kB / 254.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.337e-05/0.01439, allocations: 12.48 kB / 254.6 MB, free: 3.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.01445, allocations: 59.38 kB / 254.7 MB, free: 3.621 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01445, allocations: 0 / 254.7 MB, free: 3.621 MB / 250.7 MB Notification: Performance of Templates: time 0.003179/0.01763, allocations: 1.598 MB / 256.3 MB, free: 2.043 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.460700043477118]