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.0013/0.0013, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.001369/0.001369, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.43/1.43, allocations: 177 MB / 204.1 MB, free: 9.164 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 2.245e-06/2.245e-06, allocations: 0.7969 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.186e-05, allocations: 3.562 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00347/0.003492, allocations: 1.599 MB / 326.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.004599, allocations: 480.2 kB / 327.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.816e-05/0.004687, allocations: 1.5 kB / 327.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.62e-05/0.004733, allocations: 7.062 kB / 327.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.00484, allocations: 18.64 kB / 327.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.005078, allocations: 30.34 kB / 327.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.005239, allocations: 63.72 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.005418, allocations: 33.2 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.005604, allocations: 44.33 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.005678, allocations: 25.02 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.005702, allocations: 5.75 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.465e-05/0.005756, allocations: 12.09 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.005786, allocations: 16.11 kB / 327.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.005829, allocations: 20.67 kB / 327.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.006029, allocations: 70.81 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006033, allocations: 4.781 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006033, allocations: 0 / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.006038, allocations: 4 kB / 327.4 MB, free: 14.9 MB / 302.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.0006188/0.006656, allocations: 304.8 kB / 327.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.006696, allocations: 10.36 kB / 327.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.006898, allocations: 21.92 kB / 327.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.007144, allocations: 124.2 kB / 327.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.007172, allocations: 4.188 kB / 327.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.007193, allocations: 8.5 kB / 327.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.007521, allocations: 112.1 kB / 328 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.007533, allocations: 5.156 kB / 328 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.007549, allocations: 1.5 kB / 328 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.00756, allocations: 6.766 kB / 328 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.007847, allocations: 66.5 kB / 328.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007857/0.008633, allocations: 0.5637 MB / 328.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.0089, allocations: 115.4 kB / 328.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.00907, allocations: 59.64 kB / 328.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.009093, allocations: 7.062 kB / 328.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.009136, allocations: 38.72 kB / 328.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.009137, allocations: 1.344 kB / 328.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000682/0.009819, allocations: 126.7 kB / 329 MB, free: 13.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.009942, allocations: 157.7 kB / 329.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.01008, allocations: 122.1 kB / 329.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.01011, allocations: 27.56 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.01019, allocations: 102.3 kB / 329.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.01022, allocations: 17.66 kB / 329.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.01029, allocations: 22.34 kB / 329.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.01046, allocations: 326.4 kB / 329.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.01058, allocations: 22.2 kB / 329.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.01073, allocations: 52.19 kB / 329.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.011, allocations: 79.91 kB / 329.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.011, allocations: 1.438 kB / 329.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003489/0.01135, allocations: 104.1 kB / 330 MB, free: 12.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01137, allocations: 6.578 kB / 330 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01137, allocations: 1.406 kB / 330 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.01139, allocations: 1.625 kB / 330 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.01151, allocations: 11.31 kB / 330 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.01152, allocations: 1.984 kB / 330 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.785e-05/0.01162, allocations: 7.391 kB / 330 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.01163, allocations: 4.516 kB / 330 MB, free: 12.54 MB / 302.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.0001294/0.01176, allocations: 122.4 kB / 330.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.01193, allocations: 9.25 kB / 330.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.01197, allocations: 15.72 kB / 330.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01197, allocations: 6.188 kB / 330.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01198, allocations: 1.031 kB / 330.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01198, allocations: 2.281 kB / 330.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.01258, allocations: 128.7 kB / 330.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01258, allocations: 1.094 kB / 330.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.652e-05/0.01268, allocations: 16.11 kB / 330.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.01268, allocations: 6.281 kB / 330.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01269, allocations: 0.9688 kB / 330.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.0127, allocations: 2.703 kB / 330.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.0127, allocations: 1.281 kB / 330.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.01325, allocations: 496.8 kB / 330.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.01326, allocations: 7.922 kB / 330.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01329, allocations: 2.688 kB / 330.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.01369, allocations: 11.08 kB / 330.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.01375, allocations: 11.27 kB / 330.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01376, allocations: 3.609 kB / 330.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.149e-05/0.01384, allocations: 91.55 kB / 330.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01384, allocations: 1.156 kB / 330.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000766/0.01461, allocations: 16.75 kB / 330.9 MB, free: 11.7 MB / 302.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.0001287/0.01474, allocations: 100.5 kB / 331 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.01507, allocations: 64.47 kB / 331.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01507, allocations: 0 / 331.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.01522, allocations: 35.95 kB / 331.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.01623, allocations: 10.27 kB / 331.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.01682, allocations: 193.7 kB / 331.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.01696, allocations: 78.86 kB / 331.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.01701, allocations: 3.781 kB / 331.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.01706, allocations: 10.94 kB / 331.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.01706, allocations: 1.188 kB / 331.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Templates: time 0.004005/0.02106, allocations: 0.5457 MB / 332 MB, free: 11.22 MB / 302.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.159730467945337]