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.001001/0.001001, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001554/0.001554, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9817/0.9817, allocations: 177.1 MB / 205 MB, free: 5.609 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.543e-06/1.543e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.511e-05, allocations: 2.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002042/0.002067, allocations: 1.645 MB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000599/0.002666, allocations: 486.6 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.002726, allocations: 11.88 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.00276, allocations: 7.922 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.281e-05/0.002833, allocations: 15.8 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.003017, allocations: 27.97 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.00312, allocations: 59.78 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.003259, allocations: 36.14 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.003381, allocations: 47.88 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.003429, allocations: 19.92 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.003444, allocations: 8 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.884e-05/0.003483, allocations: 8 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.003497, allocations: 15.92 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.00352, allocations: 19.92 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.003631, allocations: 55.75 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003633, allocations: 0 / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.003634, allocations: 0 / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.003637, allocations: 0 / 275.4 MB, free: 15.07 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.0003559/0.003993, allocations: 412.3 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.004025, allocations: 8.031 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.00413, allocations: 28.88 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.00426, allocations: 132.5 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.004278, allocations: 4.375 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.004288, allocations: 8.375 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.004442, allocations: 129 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.004448, allocations: 192 / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.004458, allocations: 4.375 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.004465, allocations: 7.875 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.778e-05/0.004513, allocations: 23.92 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.004928, allocations: 0.8117 MB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.005035, allocations: 143.4 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.005078, allocations: 50.48 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.00509, allocations: 4 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.005117, allocations: 41.33 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.005118, allocations: 0 / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001994/0.005317, allocations: 82.08 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.005367, allocations: 154.2 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.005445, allocations: 181.9 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.005457, allocations: 33.64 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.005507, allocations: 142.8 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.005528, allocations: 19.84 kB / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.005557, allocations: 23.38 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.005662, allocations: 0.4883 MB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.00568, allocations: 8 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.005716, allocations: 54.42 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.005772, allocations: 66.44 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005774, allocations: 0 / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.978e-05/0.005854, allocations: 69.52 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.005865, allocations: 4 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005869, allocations: 4 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.00588, allocations: 4.156 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.005944, allocations: 11.98 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.00595, allocations: 7.984 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.005981, allocations: 7.953 kB / 278.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.005987, allocations: 0 / 278.5 MB, free: 11.56 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 7.685e-05/0.006063, allocations: 172.4 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.006114, allocations: 12 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.006136, allocations: 7.625 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.006139, allocations: 7.938 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.006142, allocations: 0 / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.006146, allocations: 8 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.006348, allocations: 144.5 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006349, allocations: 0 / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.006375, allocations: 8 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006377, allocations: 0 / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.006386, allocations: 7.984 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.006387, allocations: 0 / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.00639, allocations: 7.938 kB / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.006602, allocations: 0.6647 MB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-06/0.00661, allocations: 7.953 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.006622, allocations: 11.98 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.00673, allocations: 11.98 kB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.006769, allocations: 7.938 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.006775, allocations: 4.172 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.188e-05/0.006817, allocations: 135.2 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006817, allocations: 0 / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.007066, allocations: 11.94 kB / 279.8 MB, free: 10.27 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.31e-05/0.007139, allocations: 103.2 kB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.007245, allocations: 47.55 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007247, allocations: 0 / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.971e-05/0.007276, allocations: 23.62 kB / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.007608, allocations: 11.16 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.008124, allocations: 217.9 kB / 280.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.924e-05/0.008173, allocations: 63.34 kB / 280.2 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.247e-05/0.008196, allocations: 4 kB / 280.2 MB, free: 9.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.008226, allocations: 16.5 kB / 280.2 MB, free: 9.715 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008226, allocations: 0 / 280.2 MB, free: 9.715 MB / 266.7 MB Notification: Performance of Templates: time 0.002028/0.01025, allocations: 0.5789 MB / 280.8 MB, free: 9.141 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.7905505229718983]