Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 107 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] 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.7 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 207.6 MB / 234 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] 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.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1") [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.00178/0.00178, allocations: 58.72 kB / 345.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2947, allocations: 49.11 MB / 394.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003188/0.2979, allocations: 1.867 MB / 396.8 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.299, allocations: 0.6372 MB / 397.4 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.2991, allocations: 7.219 kB / 397.4 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.2992, allocations: 26.72 kB / 397.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.2994, allocations: 36.3 kB / 397.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.2997, allocations: 72.19 kB / 397.6 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.3, allocations: 159.9 kB / 397.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.3001, allocations: 59.77 kB / 397.8 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.3003, allocations: 71.95 kB / 397.8 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3004, allocations: 88.78 kB / 397.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.3005, allocations: 12.12 kB / 397.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.338e-05/0.3006, allocations: 22.16 kB / 398 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.3007, allocations: 39.05 kB / 398 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.332e-05/0.3007, allocations: 80.08 kB / 398.1 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.3011, allocations: 190.5 kB / 398.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3011, allocations: 4 kB / 398.3 MB, free: 7.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3011, allocations: 0 / 398.3 MB, free: 7.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3011, allocations: 3.938 kB / 398.3 MB, free: 7.215 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000942/0.302, allocations: 0.5134 MB / 398.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3021, allocations: 8.531 kB / 398.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.3021, allocations: 24.08 kB / 398.8 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3024, allocations: 243.7 kB / 399.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.3024, allocations: 11.28 kB / 399.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.3024, allocations: 17.62 kB / 399.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.3028, allocations: 195.2 kB / 399.3 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3028, allocations: 1.312 kB / 399.3 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.3029, allocations: 13.25 kB / 399.3 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.3029, allocations: 5.125 kB / 399.3 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.3032, allocations: 150.4 kB / 399.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.3043, allocations: 0.7743 MB / 400.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.3046, allocations: 158.3 kB / 400.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.3048, allocations: 74.86 kB / 400.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.3048, allocations: 3.781 kB / 400.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.3051, allocations: 141.6 kB / 400.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.3051, allocations: 0 / 400.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006198/0.3057, allocations: 265.8 kB / 400.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3057, allocations: 81.41 kB / 400.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.3059, allocations: 203.2 kB / 401.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.306, allocations: 27.47 kB / 401.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.306, allocations: 142.3 kB / 401.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.3061, allocations: 53.95 kB / 401.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.3062, allocations: 41.02 kB / 401.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.3062, allocations: 334.1 kB / 401.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.3064, allocations: 68.7 kB / 401.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3066, allocations: 128.9 kB / 401.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.3069, allocations: 204.8 kB / 402.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3069, allocations: 1.188 kB / 402.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004134/0.3073, allocations: 244.1 kB / 402.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3074, allocations: 4.906 kB / 402.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3074, allocations: 3.219 kB / 402.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3074, allocations: 3.094 kB / 402.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.3076, allocations: 34.08 kB / 402.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.3076, allocations: 3.219 kB / 402.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.3078, allocations: 39.12 kB / 402.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.3078, allocations: 10.56 kB / 402.4 MB, free: 4.273 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch.firstActiveIndex,multiSwitch.u[2],multiSwitch.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.3079, allocations: 154.5 kB / 402.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.3079, allocations: 17.09 kB / 402.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/0.3084, allocations: 211.6 kB / 402.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3084, allocations: 2.594 kB / 402.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3084, allocations: 1.797 kB / 402.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3084, allocations: 4.797 kB / 402.8 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.3087, allocations: 273.3 kB / 403.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3087, allocations: 0 / 403.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3088, allocations: 25.3 kB / 403.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3088, allocations: 1.125 kB / 403.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3088, allocations: 1.703 kB / 403.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3088, allocations: 1.734 kB / 403.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3088, allocations: 1.156 kB / 403.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.3092, allocations: 236.2 kB / 403.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.3092, allocations: 95.72 kB / 403.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3092, allocations: 2.516 kB / 403.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3094, allocations: 27.7 kB / 403.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.3094, allocations: 19.42 kB / 403.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3095, allocations: 3.188 kB / 403.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.3096, allocations: 147.1 kB / 403.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3096, allocations: 0 / 403.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.3098, allocations: 42.31 kB / 403.7 MB, free: 3.422 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.31, allocations: 101.2 kB / 403.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.3104, allocations: 163.9 kB / 403.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3104, allocations: 4.375 kB / 403.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.3106, allocations: 79.88 kB / 404 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.3109, allocations: 57.81 kB / 404.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.3116, allocations: 404.5 kB / 404.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.3118, allocations: 0.7407 MB / 405.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.3119, allocations: 18.09 kB / 405.2 MB, free: 2.262 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3119, allocations: 3.938 kB / 405.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of Templates: time 0.005574/0.3174, allocations: 2.433 MB / 407.7 MB, free: 1.832 MB / 318.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches