Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 78.88 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 160.3 kB / 24.49 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 58.2 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.145, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003482/0.1485, allocations: 1.616 MB / 380.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1495, allocations: 474.8 kB / 381 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.642e-05/0.1496, allocations: 0 / 381 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.449e-05/0.1497, allocations: 11.86 kB / 381 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.805e-05/0.1498, allocations: 11.88 kB / 381 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.15, allocations: 27.91 kB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1501, allocations: 59.78 kB / 381.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.1503, allocations: 40.08 kB / 381.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1505, allocations: 39.84 kB / 381.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.1506, allocations: 19.86 kB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.1506, allocations: 12 kB / 381.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.981e-05/0.1506, allocations: 7.984 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.1507, allocations: 19.92 kB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.1507, allocations: 23.81 kB / 381.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1509, allocations: 71.7 kB / 381.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1509, allocations: 0 / 381.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1509, allocations: 0 / 381.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1509, allocations: 0 / 381.3 MB, free: 13.05 MB / 350.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.0005861/0.1515, allocations: 310 kB / 381.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1515, allocations: 12.03 kB / 381.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.1517, allocations: 20.88 kB / 381.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.152, allocations: 126.4 kB / 381.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.152, allocations: 4.375 kB / 381.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.152, allocations: 8.375 kB / 381.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.1523, allocations: 122 kB / 381.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1523, allocations: 0 / 381.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1523, allocations: 4 kB / 381.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1523, allocations: 0 / 381.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.1525, allocations: 59.89 kB / 382 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.1532, allocations: 0.5791 MB / 382.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1534, allocations: 109 kB / 382.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.1535, allocations: 56.39 kB / 382.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1535, allocations: 11.88 kB / 382.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.1536, allocations: 38.56 kB / 382.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1536, allocations: 4 kB / 382.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004662/0.154, allocations: 117.5 kB / 382.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1541, allocations: 158.2 kB / 383 MB, free: 11.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1543, allocations: 129.8 kB / 383.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1543, allocations: 26.33 kB / 383.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.1544, allocations: 92.09 kB / 383.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.1544, allocations: 27.83 kB / 383.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1544, allocations: 17.72 kB / 383.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1546, allocations: 326.8 kB / 383.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.1547, allocations: 15.98 kB / 383.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.364e-05/0.1548, allocations: 52.28 kB / 383.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.155, allocations: 76.33 kB / 383.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.155, allocations: 7.938 kB / 383.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002258/0.1552, allocations: 101.5 kB / 383.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1552, allocations: 11.98 kB / 383.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1552, allocations: 160 / 383.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1553, allocations: 4 kB / 383.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1554, allocations: 12 kB / 383.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1554, allocations: 3.984 kB / 383.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.1554, allocations: 4 kB / 383.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1554, allocations: 7.938 kB / 383.9 MB, free: 10.13 MB / 350.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 0.0001193/0.1556, allocations: 121.8 kB / 384.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/0.1556, allocations: 7.953 kB / 384.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.1557, allocations: 15.61 kB / 384.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1557, allocations: 4 kB / 384.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1557, allocations: 4 kB / 384.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1557, allocations: 0 / 384.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.156, allocations: 137.2 kB / 384.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.156, allocations: 0 / 384.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.1561, allocations: 8 kB / 384.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1561, allocations: 4 kB / 384.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1561, allocations: 0 / 384.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1561, allocations: 3.984 kB / 384.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1561, allocations: 4 kB / 384.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.1565, allocations: 496.5 kB / 384.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.1566, allocations: 15.88 kB / 384.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1566, allocations: 4 kB / 384.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.1568, allocations: 11.92 kB / 384.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.1568, allocations: 7.938 kB / 384.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1568, allocations: 7.984 kB / 384.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.157, allocations: 95.22 kB / 384.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.157, allocations: 0 / 384.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003723/0.1574, allocations: 12 kB / 384.9 MB, free: 9.129 MB / 350.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 0.0001225/0.1575, allocations: 99.23 kB / 385 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1577, allocations: 55.91 kB / 385 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1577, allocations: 3.938 kB / 385 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1578, allocations: 36.47 kB / 385.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.1583, allocations: 12.06 kB / 385.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.1588, allocations: 202.8 kB / 385.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.159, allocations: 75.33 kB / 385.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.049e-05/0.159, allocations: 0 / 385.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.159, allocations: 12.5 kB / 385.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.159, allocations: 0 / 385.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of Templates: time 0.003286/0.1623, allocations: 0.5247 MB / 385.9 MB, free: 8.059 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.48205914197024]