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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002347/0.002347, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3466, allocations: 50.54 MB / 409.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003698/0.3503, allocations: 1.606 MB / 410.8 MB, free: 108 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3515, allocations: 490.6 kB / 411.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.3515, allocations: 0 / 411.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.149e-05/0.3516, allocations: 11.86 kB / 411.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.3517, allocations: 19.86 kB / 411.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.352, allocations: 31.91 kB / 411.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3522, allocations: 55.84 kB / 411.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.3524, allocations: 56.06 kB / 411.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.3526, allocations: 27.92 kB / 411.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.3527, allocations: 31.84 kB / 411.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3527, allocations: 4 kB / 411.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.783e-05/0.3528, allocations: 12 kB / 411.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.3528, allocations: 23.91 kB / 411.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.3528, allocations: 27.75 kB / 411.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.353, allocations: 79.7 kB / 411.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.353, allocations: 0 / 411.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3531, allocations: 0 / 411.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.3531, allocations: 0 / 411.7 MB, free: 15.24 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.0006219/0.3537, allocations: 384.5 kB / 412.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3538, allocations: 8.031 kB / 412.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.354, allocations: 24.83 kB / 412.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.3542, allocations: 180.2 kB / 412.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.3543, allocations: 4.375 kB / 412.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.3543, allocations: 8.375 kB / 412.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.3546, allocations: 114.2 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3546, allocations: 7.984 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.3547, allocations: 4 kB / 412.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3547, allocations: 0 / 412.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.3549, allocations: 55.91 kB / 412.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.3557, allocations: 0.6418 MB / 413.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.356, allocations: 113.1 kB / 413.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3562, allocations: 56.33 kB / 413.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3562, allocations: 4 kB / 413.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.3562, allocations: 42.5 kB / 413.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3562, allocations: 0 / 413.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006536/0.3569, allocations: 117.5 kB / 413.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.357, allocations: 162.8 kB / 413.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3572, allocations: 133.6 kB / 413.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3572, allocations: 29.64 kB / 413.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.3573, allocations: 104 kB / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.3573, allocations: 15.75 kB / 413.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.3574, allocations: 17.72 kB / 413.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3575, allocations: 318.8 kB / 414.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.3576, allocations: 19.98 kB / 414.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3577, allocations: 52.28 kB / 414.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.358, allocations: 84.19 kB / 414.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.358, allocations: 4 kB / 414.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003077/0.3583, allocations: 89.53 kB / 414.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3583, allocations: 8 kB / 414.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3583, allocations: 160 / 414.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3584, allocations: 8 kB / 414.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3585, allocations: 11.98 kB / 414.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3585, allocations: 0 / 414.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3586, allocations: 19.84 kB / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3587, allocations: 3.984 kB / 414.5 MB, free: 12.09 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 0.0001093/0.3588, allocations: 129.7 kB / 414.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.3589, allocations: 4.125 kB / 414.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.359, allocations: 11.48 kB / 414.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.359, allocations: 12 kB / 414.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.359, allocations: 0 / 414.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.359, allocations: 3.938 kB / 414.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.3596, allocations: 185.6 kB / 414.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3596, allocations: 4 kB / 414.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.306e-05/0.3597, allocations: 11.98 kB / 414.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3597, allocations: 0 / 414.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3598, allocations: 4 kB / 414.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3598, allocations: 0 / 414.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3598, allocations: 4 kB / 414.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.3603, allocations: 496.4 kB / 415.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.3604, allocations: 89 kB / 415.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3604, allocations: 11.94 kB / 415.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.3608, allocations: 4 kB / 415.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.3608, allocations: 11.92 kB / 415.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3609, allocations: 4 kB / 415.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.906e-05/0.3609, allocations: 99.64 kB / 415.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3609, allocations: 3.938 kB / 415.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006959/0.3617, allocations: 12 kB / 415.6 MB, free: 10.91 MB / 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 0.000114/0.3618, allocations: 99.19 kB / 415.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.3621, allocations: 63.89 kB / 415.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3621, allocations: 0 / 415.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.3623, allocations: 32.48 kB / 415.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.3632, allocations: 10.41 kB / 415.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.3637, allocations: 206.6 kB / 416 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3641, allocations: 0.6885 MB / 416.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.3641, allocations: 8 kB / 416.7 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.3642, allocations: 7.438 kB / 416.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3642, allocations: 0 / 416.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of Templates: time 0.003436/0.3676, allocations: 0.5595 MB / 417.2 MB, free: 9.172 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches