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.001025/0.001025, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001164/0.001164, allocations: 168.9 kB / 24.91 MB, free: 8.723 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 0.9249/0.9249, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.713e-06/1.713e-06, allocations: 0 / 273.5 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.178e-05, allocations: 3.281 kB / 273.5 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002218/0.002239, allocations: 1.693 MB / 275.2 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006366/0.002876, allocations: 489 kB / 275.7 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.002938, allocations: 4 kB / 275.7 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.00297, allocations: 8.719 kB / 275.7 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.715e-05/0.003047, allocations: 11.86 kB / 275.7 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.003202, allocations: 36.5 kB / 275.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.003303, allocations: 70.12 kB / 275.8 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.003429, allocations: 36.09 kB / 275.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.003564, allocations: 47.83 kB / 275.9 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.003613, allocations: 19.92 kB / 275.9 MB, free: 2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.003629, allocations: 4 kB / 275.9 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.00369, allocations: 8 kB / 275.9 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.003707, allocations: 23.91 kB / 275.9 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.003727, allocations: 19.92 kB / 275.9 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.003841, allocations: 59.75 kB / 276 MB, free: 1.887 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.003844, allocations: 0 / 276 MB, free: 1.887 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003844, allocations: 0 / 276 MB, free: 1.887 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.003848, allocations: 0 / 276 MB, free: 1.887 MB / 250.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.0002828/0.004131, allocations: 280.7 kB / 276.3 MB, free: 1.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.004166, allocations: 11.98 kB / 276.3 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.00428, allocations: 20.92 kB / 276.3 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.004396, allocations: 125.6 kB / 276.4 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.004411, allocations: 4.375 kB / 276.4 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.004419, allocations: 8.375 kB / 276.4 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.004538, allocations: 115.2 kB / 276.6 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.004544, allocations: 192 / 276.6 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.004554, allocations: 8.297 kB / 276.6 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.00456, allocations: 3.938 kB / 276.6 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.004591, allocations: 19.94 kB / 276.6 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.004923, allocations: 0.5086 MB / 277.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.394e-05/0.004997, allocations: 105.1 kB / 277.2 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.005027, allocations: 36.22 kB / 277.2 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.005042, allocations: 8 kB / 277.2 MB, free: 496 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.005059, allocations: 34.56 kB / 277.3 MB, free: 452 kB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.00506, allocations: 0 / 277.3 MB, free: 452 kB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001625/0.005223, allocations: 70.08 kB / 277.3 MB, free: 376 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.005273, allocations: 158.2 kB / 277.5 MB, free: 180 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.005331, allocations: 126.6 kB / 277.6 MB, free: 40 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/0.00534, allocations: 29.7 kB / 277.6 MB, free: 4 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.005385, allocations: 100.1 kB / 277.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.005402, allocations: 11.89 kB / 277.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.005432, allocations: 29.69 kB / 277.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002771/0.005709, allocations: 310.8 kB / 278.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.005722, allocations: 4 kB / 278.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.871e-05/0.005751, allocations: 40.27 kB / 278.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.852e-05/0.0058, allocations: 52.16 kB / 278.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005802, allocations: 0 / 278.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.032e-05/0.005872, allocations: 61.56 kB / 278.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.005884, allocations: 4 kB / 278.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.00589, allocations: 7.984 kB / 278.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.005899, allocations: 0 / 278.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.005958, allocations: 12.09 kB / 278.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.005962, allocations: 8 kB / 278.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.005992, allocations: 15.88 kB / 278.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.005995, allocations: 0 / 278.3 MB, free: 15.3 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 5.834e-05/0.006053, allocations: 113.8 kB / 278.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.00611, allocations: 11.94 kB / 278.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.006132, allocations: 11.61 kB / 278.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.006135, allocations: 4 kB / 278.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006137, allocations: 0 / 278.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.00614, allocations: 0 / 278.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.006339, allocations: 89.98 kB / 278.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006341, allocations: 7.938 kB / 278.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.006371, allocations: 12 kB / 278.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.006374, allocations: 7.922 kB / 278.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.006381, allocations: 4 kB / 278.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.006382, allocations: 0 / 278.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.006384, allocations: 4 kB / 278.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.006551, allocations: 448.6 kB / 279 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.006561, allocations: 11.94 kB / 279 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.006571, allocations: 7.875 kB / 279 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.006683, allocations: 8 kB / 279 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.006717, allocations: 11.98 kB / 279 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.006721, allocations: 7.984 kB / 279 MB, free: 14.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.628e-05/0.006738, allocations: 21.27 kB / 279.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006738, allocations: 0 / 279.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.006953, allocations: 11.94 kB / 279.1 MB, free: 14.48 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 7.608e-05/0.007029, allocations: 84.36 kB / 279.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.965e-05/0.007099, allocations: 29.03 kB / 279.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.007103, allocations: 8.062 kB / 279.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.36e-05/0.007126, allocations: 20.8 kB / 279.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.007426, allocations: 16.25 kB / 279.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.00786, allocations: 200.4 kB / 279.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.007921, allocations: 63.2 kB / 279.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.309e-05/0.007954, allocations: 8.312 kB / 279.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.008, allocations: 51.38 kB / 279.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.008001, allocations: 0 / 279.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of Templates: time 0.002085/0.01009, allocations: 0.5012 MB / 280 MB, free: 13.43 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 -s gbode -gbm=radauIIA3 -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.4132377970963717]