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.001414/0.001414, allocations: 113.1 kB / 21.93 MB, free: 5.223 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.001541/0.001541, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.534/1.534, allocations: 207.7 MB / 236.1 MB, free: 9.805 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.002065/0.002065, allocations: 59.86 kB / 348.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3256, allocations: 49.15 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002999/0.3286, allocations: 1.58 MB / 399.2 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.3294, allocations: 445.7 kB / 399.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.3294, allocations: 2.406 kB / 399.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.3295, allocations: 10.98 kB / 399.6 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.3296, allocations: 10.78 kB / 399.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.3297, allocations: 24.83 kB / 399.6 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3299, allocations: 54.64 kB / 399.7 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.33, allocations: 44.78 kB / 399.7 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3301, allocations: 26.16 kB / 399.8 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.3302, allocations: 28.72 kB / 399.8 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3302, allocations: 5 kB / 399.8 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.516e-05/0.3303, allocations: 5.938 kB / 399.8 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.3303, allocations: 11.28 kB / 399.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.3303, allocations: 29.09 kB / 399.8 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3305, allocations: 68.55 kB / 399.9 MB, free: 7.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3305, allocations: 4.609 kB / 399.9 MB, free: 7.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3305, allocations: 0 / 399.9 MB, free: 7.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3305, allocations: 1.344 kB / 399.9 MB, free: 7.863 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.0004595/0.3309, allocations: 304.5 kB / 400.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.331, allocations: 13.97 kB / 400.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.331, allocations: 8.766 kB / 400.2 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.103e-05/0.3311, allocations: 115.5 kB / 400.4 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.3311, allocations: 7.125 kB / 400.4 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.3311, allocations: 5.594 kB / 400.4 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.3314, allocations: 123.8 kB / 400.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3314, allocations: 1.312 kB / 400.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3314, allocations: 5.156 kB / 400.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3314, allocations: 1.219 kB / 400.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.3316, allocations: 53.86 kB / 400.5 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.3321, allocations: 0.5799 MB / 401.1 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.3322, allocations: 119 kB / 401.2 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3323, allocations: 53.83 kB / 401.3 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.3324, allocations: 6.219 kB / 401.3 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.3324, allocations: 34.19 kB / 401.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3324, allocations: 0 / 401.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004352/0.3328, allocations: 127.5 kB / 401.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3329, allocations: 161.4 kB / 401.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.3329, allocations: 125 kB / 401.7 MB, free: 6.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3329, allocations: 27.02 kB / 401.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.333, allocations: 102.5 kB / 401.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.333, allocations: 15.62 kB / 401.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.333, allocations: 20.25 kB / 401.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.3331, allocations: 323.7 kB / 402.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.3332, allocations: 21.11 kB / 402.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.3333, allocations: 53.55 kB / 402.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.3334, allocations: 79.17 kB / 402.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3334, allocations: 0 / 402.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002076/0.3337, allocations: 101.3 kB / 402.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3337, allocations: 5.094 kB / 402.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3337, allocations: 2.5 kB / 402.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3337, allocations: 1.375 kB / 402.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.3338, allocations: 12.66 kB / 402.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3338, allocations: 1.312 kB / 402.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.3339, allocations: 10.89 kB / 402.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3339, allocations: 11.44 kB / 402.5 MB, free: 5.496 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 6.709e-05/0.3339, allocations: 119.8 kB / 402.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.334, allocations: 8.578 kB / 402.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.334, allocations: 15.83 kB / 402.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3341, allocations: 5.125 kB / 402.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3341, allocations: 2.875 kB / 402.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3341, allocations: 1.281 kB / 402.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.3344, allocations: 128.2 kB / 402.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3344, allocations: 1.188 kB / 402.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.3344, allocations: 16.34 kB / 402.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3344, allocations: 1.125 kB / 402.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3345, allocations: 2.969 kB / 402.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3345, allocations: 5.25 kB / 402.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3345, allocations: 3.156 kB / 402.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.3347, allocations: 496 kB / 403.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.3348, allocations: 11.44 kB / 403.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3348, allocations: 3.328 kB / 403.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.335, allocations: 10.2 kB / 403.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.335, allocations: 11.42 kB / 403.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-06/0.3351, allocations: 11.52 kB / 403.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.768e-05/0.3351, allocations: 95.41 kB / 403.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3351, allocations: 0 / 403.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.3355, allocations: 13.66 kB / 403.5 MB, free: 4.645 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.442e-05/0.3355, allocations: 91.11 kB / 403.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.3358, allocations: 65.2 kB / 403.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3358, allocations: 0 / 403.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3359, allocations: 32.98 kB / 403.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.3364, allocations: 8.406 kB / 403.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.3368, allocations: 232.6 kB / 403.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.037e-05/0.3369, allocations: 82.27 kB / 404 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.337, allocations: 12.03 kB / 404 MB, free: 4.223 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.337, allocations: 0 / 404 MB, free: 4.223 MB / 318.1 MB Notification: Performance of Templates: time 0.003161/0.3401, allocations: 0.8899 MB / 404.9 MB, free: 4.152 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/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: 7.261574243195355]