Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.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.001443/0.001443, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001638/0.001638, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.545/1.545, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.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.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage") [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.001911/0.001911, allocations: 59.92 kB / 347.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2894, allocations: 49.15 MB / 396.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002647/0.2921, allocations: 1.579 MB / 398.4 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.2928, allocations: 453.8 kB / 398.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.2928, allocations: 1.438 kB / 398.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.068e-05/0.2929, allocations: 6.938 kB / 398.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.2929, allocations: 17.91 kB / 398.9 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.2931, allocations: 17.67 kB / 398.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.992e-05/0.2932, allocations: 57.73 kB / 399 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.2934, allocations: 47.06 kB / 399 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2935, allocations: 21 kB / 399 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.2935, allocations: 28.89 kB / 399 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.2936, allocations: 4.875 kB / 399.1 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.2936, allocations: 13.5 kB / 399.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.2936, allocations: 8.656 kB / 399.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.2936, allocations: 24.83 kB / 399.1 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.2938, allocations: 71.98 kB / 399.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2938, allocations: 1.281 kB / 399.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2938, allocations: 0 / 399.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.2938, allocations: 0 / 399.2 MB, free: 7.832 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000444/0.2942, allocations: 304 kB / 399.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2943, allocations: 14.47 kB / 399.5 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.2943, allocations: 13.08 kB / 399.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.2944, allocations: 117.2 kB / 399.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.2944, allocations: 5.844 kB / 399.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.2944, allocations: 5.125 kB / 399.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.2947, allocations: 121.3 kB / 399.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2947, allocations: 0 / 399.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2947, allocations: 1.531 kB / 399.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2947, allocations: 1.438 kB / 399.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.2949, allocations: 62.34 kB / 399.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.2953, allocations: 0.5688 MB / 400.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.2955, allocations: 118.5 kB / 400.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2956, allocations: 52.66 kB / 400.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.2956, allocations: 2.625 kB / 400.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2956, allocations: 42.09 kB / 400.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.2956, allocations: 5.375 kB / 400.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004275/0.2961, allocations: 125.9 kB / 400.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2961, allocations: 157.4 kB / 400.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.2962, allocations: 120.9 kB / 401 MB, free: 6.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.2962, allocations: 27.17 kB / 401 MB, free: 6.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.2962, allocations: 97.59 kB / 401.1 MB, free: 6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.2963, allocations: 23.95 kB / 401.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.2963, allocations: 22.61 kB / 401.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.2964, allocations: 322 kB / 401.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.2965, allocations: 20.14 kB / 401.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.41e-05/0.2965, allocations: 54.08 kB / 401.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.2967, allocations: 82.48 kB / 401.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2967, allocations: 1.406 kB / 401.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002014/0.2969, allocations: 97.02 kB / 401.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2969, allocations: 6.5 kB / 401.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2969, allocations: 1.375 kB / 401.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2969, allocations: 5.594 kB / 401.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.297, allocations: 11.39 kB / 401.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.297, allocations: 1.688 kB / 401.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.2971, allocations: 8.125 kB / 401.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2971, allocations: 10.5 kB / 401.8 MB, free: 5.469 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.576e-05/0.2972, allocations: 116.7 kB / 401.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.2972, allocations: 7.578 kB / 401.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.2973, allocations: 15.42 kB / 401.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2973, allocations: 2.531 kB / 401.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2973, allocations: 1.781 kB / 401.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2973, allocations: 6.375 kB / 401.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.2976, allocations: 123.3 kB / 402 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2976, allocations: 5.344 kB / 402 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.765e-05/0.2977, allocations: 16.89 kB / 402 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2977, allocations: 1.281 kB / 402 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2977, allocations: 1.969 kB / 402 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2977, allocations: 6.344 kB / 402.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2977, allocations: 1.828 kB / 402.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.298, allocations: 499.4 kB / 402.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.298, allocations: 8.703 kB / 402.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.298, allocations: 10.23 kB / 402.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.2982, allocations: 7.734 kB / 402.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.2982, allocations: 14.95 kB / 402.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.2983, allocations: 3.312 kB / 402.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.2983, allocations: 99.44 kB / 402.7 MB, free: 4.621 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2983, allocations: 1.25 kB / 402.7 MB, free: 4.621 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.2987, allocations: 11.94 kB / 402.7 MB, free: 4.617 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 7.702e-05/0.2988, allocations: 97 kB / 402.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.299, allocations: 64.08 kB / 402.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.299, allocations: 0 / 402.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.2991, allocations: 33.38 kB / 402.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.2996, allocations: 5.125 kB / 402.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.3, allocations: 215.6 kB / 403.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.158e-05/0.3001, allocations: 77.31 kB / 403.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.635e-05/0.3002, allocations: 2.578 kB / 403.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.3002, allocations: 10.59 kB / 403.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3002, allocations: 0 / 403.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of Templates: time 0.003132/0.3033, allocations: 0.5804 MB / 403.8 MB, free: 4.121 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.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.791853608563542]