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.001002/0.001002, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001126/0.001126, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 1.693e-06/1.693e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.76e-05, allocations: 2.312 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002772/0.00279, allocations: 1.641 MB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008272/0.003617, allocations: 490.6 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.003694, allocations: 0 / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.073e-05/0.003735, allocations: 11.92 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.344e-05/0.003828, allocations: 19.81 kB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.004029, allocations: 19.97 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.00415, allocations: 67.72 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.0043, allocations: 32.14 kB / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.004455, allocations: 43.89 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.004516, allocations: 23.91 kB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.004534, allocations: 4 kB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-05/0.00458, allocations: 15.94 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.004602, allocations: 23.91 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.004625, allocations: 11.94 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.004756, allocations: 59.81 kB / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004758, allocations: 3.938 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004758, allocations: 0 / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.004762, allocations: 0 / 275.8 MB, free: 14.8 MB / 266.7 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.000427/0.005189, allocations: 408.3 kB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.005231, allocations: 8.031 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.005368, allocations: 20.88 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.005521, allocations: 132.5 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.00554, allocations: 8.375 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.005553, allocations: 8.375 kB / 276.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.005726, allocations: 121.3 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.005735, allocations: 4.188 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.005743, allocations: 384 / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.005751, allocations: 3.938 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.005801, allocations: 19.92 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.006225, allocations: 0.7889 MB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.142e-05/0.006316, allocations: 151.4 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.00635, allocations: 46.48 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.006366, allocations: 4 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.00639, allocations: 45.33 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.006391, allocations: 0 / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001691/0.00656, allocations: 70.11 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.006611, allocations: 166.1 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.006685, allocations: 185.9 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.006694, allocations: 25.7 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.006742, allocations: 146.8 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.00676, allocations: 15.84 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.006791, allocations: 31.34 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.006903, allocations: 496.1 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.006913, allocations: 0 / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.006948, allocations: 54.41 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.907e-05/0.006997, allocations: 62.38 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.007, allocations: 3.938 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.081e-05/0.007071, allocations: 69.52 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.00708, allocations: 4 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.007084, allocations: 0 / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.007096, allocations: 4 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.007149, allocations: 12.14 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.007153, allocations: 7.984 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.007184, allocations: 15.94 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.007189, allocations: 4 kB / 278.9 MB, free: 11.34 MB / 266.7 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.952e-05/0.007259, allocations: 164.5 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.007305, allocations: 8 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.007324, allocations: 11.62 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007326, allocations: 0 / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.007329, allocations: 4 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.007331, allocations: 0 / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.00753, allocations: 117.2 kB / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.007532, allocations: 8.125 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.007556, allocations: 11.98 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.007559, allocations: 3.938 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.007565, allocations: 8 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007566, allocations: 0 / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.007568, allocations: 7.938 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.007783, allocations: 0.6569 MB / 279.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.007793, allocations: 15.88 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.007802, allocations: 7.938 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.007911, allocations: 12 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.00794, allocations: 11.92 kB / 280 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.007943, allocations: 0 / 280 MB, free: 10.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4e-05/0.007983, allocations: 143.5 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007983, allocations: 0 / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.008221, allocations: 11.94 kB / 280.1 MB, free: 10.09 MB / 266.7 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 6.177e-05/0.008283, allocations: 95.25 kB / 280.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.257e-05/0.008355, allocations: 35.86 kB / 280.2 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008357, allocations: 4.062 kB / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.519e-05/0.008382, allocations: 27.61 kB / 280.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.008705, allocations: 15.03 kB / 280.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.009094, allocations: 217.2 kB / 280.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.7e-05/0.009141, allocations: 63.34 kB / 280.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.176e-05/0.009163, allocations: 8.297 kB / 280.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.009205, allocations: 70.2 kB / 280.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009206, allocations: 0 / 280.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of Templates: time 0.001947/0.01115, allocations: 0.61 MB / 281.3 MB, free: 8.875 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.777625788934529]