Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 185.3 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 60.34 kB / 347.7 MB, free: 9.645 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2937, allocations: 49.16 MB / 396.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002919/0.2966, allocations: 2.146 MB / 399 MB, free: 8.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007506/0.2973, allocations: 0.519 MB / 399.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.899e-05/0.2974, allocations: 2.969 kB / 399.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2975, allocations: 19.12 kB / 399.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.214e-05/0.2976, allocations: 43.36 kB / 399.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.2978, allocations: 41.62 kB / 399.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.298, allocations: 163.1 kB / 399.7 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.2981, allocations: 42.42 kB / 399.8 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2982, allocations: 64.95 kB / 399.8 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2984, allocations: 62.61 kB / 399.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.2984, allocations: 12.88 kB / 399.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.167e-05/0.2985, allocations: 16.11 kB / 399.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.2985, allocations: 32.66 kB / 400 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.113e-05/0.2986, allocations: 76.8 kB / 400 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.2989, allocations: 164.8 kB / 400.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2989, allocations: 0 / 400.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2989, allocations: 5.188 kB / 400.2 MB, free: 7.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.2989, allocations: 0.6562 kB / 400.2 MB, free: 7.27 MB / 318.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.0005041/0.2994, allocations: 364.8 kB / 400.6 MB, free: 6.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2994, allocations: 12.33 kB / 400.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.995e-05/0.2995, allocations: 18.98 kB / 400.6 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.2997, allocations: 157.1 kB / 400.8 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.2997, allocations: 10.11 kB / 400.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.2997, allocations: 11.38 kB / 400.8 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.3, allocations: 122.6 kB / 400.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3, allocations: 0 / 400.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3, allocations: 2.531 kB / 400.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3, allocations: 2.594 kB / 400.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.3002, allocations: 80.73 kB / 401 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.3009, allocations: 0.5679 MB / 401.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.3012, allocations: 79.59 kB / 401.6 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.388e-05/0.3013, allocations: 29.17 kB / 401.6 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3013, allocations: 1.031 kB / 401.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.3013, allocations: 36.36 kB / 401.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3013, allocations: 3.984 kB / 401.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.000643/0.3019, allocations: 175.9 kB / 401.9 MB, free: 6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.302, allocations: 57.23 kB / 401.9 MB, free: 5.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.302, allocations: 147.3 kB / 402.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3021, allocations: 25.7 kB / 402.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.3021, allocations: 129.6 kB / 402.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.3021, allocations: 20.77 kB / 402.2 MB, free: 5.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.3022, allocations: 19.97 kB / 402.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.3022, allocations: 325.9 kB / 402.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.3023, allocations: 23 kB / 402.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.3023, allocations: 41.16 kB / 402.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3025, allocations: 65.59 kB / 402.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3025, allocations: 5.469 kB / 402.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002605/0.3027, allocations: 135.4 kB / 402.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3027, allocations: 5.875 kB / 402.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3027, allocations: 3.938 kB / 402.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.3029, allocations: 37.16 kB / 402.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.565e-05/0.303, allocations: 14.52 kB / 402.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.3041, allocations: 1.588 MB / 404.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.3041, allocations: 12.58 kB / 404.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3041, allocations: 2.156 kB / 404.5 MB, free: 3.602 MB / 318.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 6.643e-05/0.3042, allocations: 121.5 kB / 404.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.3042, allocations: 12.45 kB / 404.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.3043, allocations: 20.66 kB / 404.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3043, allocations: 1.125 kB / 404.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.3043, allocations: 0 / 404.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3043, allocations: 0.5625 kB / 404.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3044, allocations: 178.9 kB / 404.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3044, allocations: 0 / 404.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.3045, allocations: 9.391 kB / 404.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.3046, allocations: 35.94 kB / 404.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3046, allocations: 2.172 kB / 404.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009103/0.3055, allocations: 1.581 MB / 406.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3055, allocations: 0 / 406.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3058, allocations: 213.9 kB / 406.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.3058, allocations: 15.23 kB / 406.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3058, allocations: 2.156 kB / 406.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.3059, allocations: 9.469 kB / 406.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.3059, allocations: 10.39 kB / 406.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.3059, allocations: 1.125 kB / 406.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.384e-05/0.306, allocations: 112.2 kB / 406.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.306, allocations: 0 / 406.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003566/0.3063, allocations: 39.08 kB / 406.8 MB, free: 1.477 MB / 318.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 7.581e-05/0.3064, allocations: 96.41 kB / 406.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.3068, allocations: 186.1 kB / 407.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3068, allocations: 5.062 kB / 407.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.3069, allocations: 159.7 kB / 407.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3072, allocations: 19.83 kB / 407.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.3076, allocations: 295.2 kB / 407.6 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.3078, allocations: 0.7031 MB / 408.3 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.752e-05/0.3078, allocations: 14.7 kB / 408.3 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.3078, allocations: 9.812 kB / 408.3 MB, free: 196 kB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.3078, allocations: 3.938 kB / 408.3 MB, free: 192 kB / 318.1 MB Notification: Performance of Templates: time 0.005572/0.3134, allocations: 1.604 MB / 409.9 MB, free: 8 kB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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.677064665593207]