Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001899/0.001899, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002332/0.002332, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.588/1.588, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2284, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002881/0.2313, allocations: 1.599 MB / 433.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008421/0.2321, allocations: 470.8 kB / 434.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.2322, allocations: 0 / 434.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.2322, allocations: 11.86 kB / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.49e-05/0.2323, allocations: 15.81 kB / 434.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.2325, allocations: 31.91 kB / 434.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2326, allocations: 55.84 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.2328, allocations: 43.88 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.2329, allocations: 31.92 kB / 434.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.233, allocations: 31.84 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.233, allocations: 11.98 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.233, allocations: 8 kB / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.2331, allocations: 23.86 kB / 434.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.2331, allocations: 19.88 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.2332, allocations: 74.8 kB / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2332, allocations: 0 / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2332, allocations: 0 / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2333, allocations: 0 / 434.7 MB, free: 4.273 MB / 334.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.0004941/0.2337, allocations: 313.7 kB / 435 MB, free: 3.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2338, allocations: 12.03 kB / 435 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.2339, allocations: 20.88 kB / 435.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.2341, allocations: 126.4 kB / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.2341, allocations: 4.375 kB / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.2342, allocations: 8.375 kB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.2344, allocations: 118.2 kB / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2344, allocations: 0 / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.2344, allocations: 4 kB / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2344, allocations: 0 / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.2346, allocations: 59.89 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.2352, allocations: 0.5752 MB / 436 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.2354, allocations: 109 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.2355, allocations: 48.41 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.2356, allocations: 11.88 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.2356, allocations: 42.55 kB / 436.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2356, allocations: 4 kB / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004637/0.2361, allocations: 117.5 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.459e-05/0.2362, allocations: 158.2 kB / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2363, allocations: 129.7 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.2363, allocations: 30.33 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.2364, allocations: 96.03 kB / 436.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.2364, allocations: 19.91 kB / 436.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.2364, allocations: 21.7 kB / 436.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2366, allocations: 326.8 kB / 437 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.2366, allocations: 15.98 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.673e-05/0.2367, allocations: 52.28 kB / 437.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.2369, allocations: 76.2 kB / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2369, allocations: 0 / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002242/0.2372, allocations: 101.6 kB / 437.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2372, allocations: 8 kB / 437.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2372, allocations: 4.156 kB / 437.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2372, allocations: 4 kB / 437.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.836e-05/0.2373, allocations: 19.97 kB / 437.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2373, allocations: 3.984 kB / 437.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.2374, allocations: 7.984 kB / 437.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.2374, allocations: 7.938 kB / 437.3 MB, free: 1.359 MB / 334.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 9.01e-05/0.2375, allocations: 121.8 kB / 437.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/0.2376, allocations: 7.953 kB / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.2376, allocations: 19.56 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2376, allocations: 0 / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2376, allocations: 8 kB / 437.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2376, allocations: 0 / 437.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.2379, allocations: 137.1 kB / 437.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2379, allocations: 0 / 437.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.238, allocations: 15.92 kB / 437.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.238, allocations: 4 kB / 437.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.238, allocations: 0 / 437.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.238, allocations: 0 / 437.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.238, allocations: 7.938 kB / 437.7 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.2384, allocations: 492.6 kB / 438.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.2385, allocations: 11.94 kB / 438.1 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.2385, allocations: 0 / 438.1 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.2387, allocations: 8 kB / 438.2 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.2387, allocations: 15.86 kB / 438.2 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.2387, allocations: 4 kB / 438.2 MB, free: 472 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.453e-05/0.2388, allocations: 91.27 kB / 438.3 MB, free: 380 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2388, allocations: 0 / 438.3 MB, free: 380 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.2392, allocations: 19.94 kB / 438.3 MB, free: 360 kB / 334.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 8.698e-05/0.2393, allocations: 95.25 kB / 438.4 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.2395, allocations: 59.89 kB / 438.4 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2395, allocations: 0 / 438.4 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.2396, allocations: 32.48 kB / 438.5 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.2401, allocations: 11.5 kB / 438.5 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.2406, allocations: 207 kB / 438.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.766e-05/0.2407, allocations: 79.27 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.672e-05/0.2407, allocations: 4 kB / 438.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.2407, allocations: 7.438 kB / 438.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2407, allocations: 0 / 438.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Templates: time 0.003138/0.2439, allocations: 0.5955 MB / 439.4 MB, free: 15.22 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.4165428260021145]