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.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.001409/0.001409, allocations: 85.48 kB / 22 MB, free: 4.75 MB / 14.72 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.00155/0.00155, allocations: 157.4 kB / 25.24 MB, free: 2.742 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.327/1.327, allocations: 158.6 MB / 187 MB, free: 6.363 MB / 174.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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 59.92 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2458, allocations: 49.15 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.004086/0.2499, allocations: 2.044 MB / 350.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.251, allocations: 499.5 kB / 351 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.2511, allocations: 0 / 351 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.2512, allocations: 19.8 kB / 351.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.2513, allocations: 51.56 kB / 351.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.2515, allocations: 39.89 kB / 351.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.2517, allocations: 155.3 kB / 351.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.2519, allocations: 41.45 kB / 351.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.252, allocations: 59.73 kB / 351.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.2521, allocations: 63.69 kB / 351.5 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.2522, allocations: 16 kB / 351.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.777e-05/0.2522, allocations: 23.92 kB / 351.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.2523, allocations: 23.92 kB / 351.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.2523, allocations: 59.73 kB / 351.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.2526, allocations: 161.8 kB / 351.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2526, allocations: 0 / 351.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2526, allocations: 0 / 351.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.2526, allocations: 0 / 351.7 MB, free: 12.29 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.0005976/0.2532, allocations: 365.9 kB / 352.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2532, allocations: 19.92 kB / 352.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.944e-05/0.2533, allocations: 20.84 kB / 352.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.2536, allocations: 158.2 kB / 352.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.2537, allocations: 8.609 kB / 352.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.2537, allocations: 12.38 kB / 352.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.254, allocations: 145.5 kB / 352.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.254, allocations: 0 / 352.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.254, allocations: 7.984 kB / 352.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.254, allocations: 4 kB / 352.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.2542, allocations: 77.55 kB / 352.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.255, allocations: 438.7 kB / 353 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.2553, allocations: 86.5 kB / 353.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.2554, allocations: 28.97 kB / 353.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2554, allocations: 4 kB / 353.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2554, allocations: 30.56 kB / 353.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.2554, allocations: 0 / 353.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006727/0.2561, allocations: 178.3 kB / 353.3 MB, free: 10.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.2561, allocations: 55.41 kB / 353.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.2563, allocations: 149.7 kB / 353.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.2563, allocations: 25.7 kB / 353.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.2564, allocations: 136.1 kB / 353.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.2564, allocations: 11.86 kB / 353.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.2565, allocations: 25.72 kB / 353.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2566, allocations: 322.8 kB / 354 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.2567, allocations: 19.98 kB / 354 MB, free: 9.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/0.2568, allocations: 38.56 kB / 354.1 MB, free: 9.777 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.2569, allocations: 70.5 kB / 354.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2569, allocations: 7.938 kB / 354.1 MB, free: 9.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003127/0.2572, allocations: 142.2 kB / 354.3 MB, free: 9.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2572, allocations: 8 kB / 354.3 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2572, allocations: 0 / 354.3 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.2574, allocations: 36.84 kB / 354.3 MB, free: 9.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.2575, allocations: 7.984 kB / 354.3 MB, free: 9.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.2592, allocations: 1.571 MB / 355.9 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.2592, allocations: 11.92 kB / 355.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.2593, allocations: 8 kB / 355.9 MB, free: 7.789 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 9.944e-05/0.2594, allocations: 113.8 kB / 356 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.2594, allocations: 11.95 kB / 356 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.2594, allocations: 24.77 kB / 356.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2594, allocations: 0 / 356.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2594, allocations: 4 kB / 356.1 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2594, allocations: 0 / 356.1 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.2596, allocations: 141.2 kB / 356.2 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2596, allocations: 0 / 356.2 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.2597, allocations: 7.984 kB / 356.2 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.2598, allocations: 28.84 kB / 356.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.2598, allocations: 4 kB / 356.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.2612, allocations: 1.555 MB / 357.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2612, allocations: 4.031 kB / 357.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.2616, allocations: 212.2 kB / 358 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.2616, allocations: 11.94 kB / 358 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.2616, allocations: 3.938 kB / 358 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2617, allocations: 12.06 kB / 358 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.2617, allocations: 7.984 kB / 358 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.2617, allocations: 0 / 358 MB, free: 5.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.2619, allocations: 107.2 kB / 358.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2619, allocations: 4 kB / 358.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.2622, allocations: 35.95 kB / 358.2 MB, free: 5.355 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 9.91e-05/0.2623, allocations: 95.25 kB / 358.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.2627, allocations: 198.5 kB / 358.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2627, allocations: 0 / 358.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.2629, allocations: 154.6 kB / 358.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.2632, allocations: 13.06 kB / 358.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.2637, allocations: 304.7 kB / 358.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.2638, allocations: 94.27 kB / 359 MB, free: 4.434 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.641e-05/0.2639, allocations: 4.5 kB / 359 MB, free: 4.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.2639, allocations: 12.5 kB / 359 MB, free: 4.418 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2639, allocations: 4 kB / 359.1 MB, free: 4.414 MB / 318.1 MB Notification: Performance of Templates: time 0.004569/0.2685, allocations: 1.451 MB / 360.5 MB, free: 2.957 MB / 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","/var/lib/jenkins1/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.433856919989921]