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.0009485/0.0009485, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003527/0.003527, allocations: 160.2 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8581/0.8581, allocations: 177 MB / 204.9 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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 1.753e-06/1.753e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.976e-05, allocations: 2.844 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001992/0.002022, allocations: 1.603 MB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000989/0.003011, allocations: 482.6 kB / 327.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.003094, allocations: 4 kB / 327.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.003133, allocations: 7.875 kB / 327.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/0.003212, allocations: 11.86 kB / 327.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.003428, allocations: 27.97 kB / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.003554, allocations: 71.64 kB / 328 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.003732, allocations: 32.22 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.003879, allocations: 47.89 kB / 328 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.003937, allocations: 23.91 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.003953, allocations: 4 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.004, allocations: 11.94 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.004014, allocations: 7.984 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.004045, allocations: 23.92 kB / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.004186, allocations: 75.7 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004188, allocations: 0 / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.00419, allocations: 3.938 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.004195, allocations: 0 / 328.2 MB, free: 12.92 MB / 298.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.0004002/0.004595, allocations: 310.1 kB / 328.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.004637, allocations: 8.031 kB / 328.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.004754, allocations: 20.83 kB / 328.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.004911, allocations: 125.7 kB / 328.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.004931, allocations: 4.375 kB / 328.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.004943, allocations: 8.375 kB / 328.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.005112, allocations: 110.5 kB / 328.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.00512, allocations: 4.188 kB / 328.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.005133, allocations: 8.375 kB / 328.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.005139, allocations: 3.938 kB / 328.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.005243, allocations: 59.89 kB / 328.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.005638, allocations: 0.5635 MB / 329.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.005745, allocations: 117.1 kB / 329.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.207e-05/0.005807, allocations: 56.28 kB / 329.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.005826, allocations: 7.984 kB / 329.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.005847, allocations: 38.5 kB / 329.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.005848, allocations: 0 / 329.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002801/0.006129, allocations: 122.1 kB / 329.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.006184, allocations: 166.2 kB / 329.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.006254, allocations: 121.8 kB / 330 MB, free: 10.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.006266, allocations: 29.7 kB / 330 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.006311, allocations: 96.08 kB / 330.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.006332, allocations: 19.83 kB / 330.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.00636, allocations: 17.72 kB / 330.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.006437, allocations: 326.8 kB / 330.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.006479, allocations: 27.86 kB / 330.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-05/0.00653, allocations: 48.28 kB / 330.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.324e-05/0.006623, allocations: 80.2 kB / 330.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.006626, allocations: 4 kB / 330.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001297/0.006755, allocations: 101.5 kB / 330.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.006771, allocations: 8 kB / 330.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.006777, allocations: 0 / 330.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.006791, allocations: 7.984 kB / 330.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/0.00686, allocations: 8 kB / 330.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.006865, allocations: 0 / 330.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.006897, allocations: 11.98 kB / 330.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.006903, allocations: 0 / 330.8 MB, free: 10.02 MB / 298.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.651e-05/0.006979, allocations: 129.9 kB / 330.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.007023, allocations: 7.953 kB / 330.9 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.007049, allocations: 15.56 kB / 330.9 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.007052, allocations: 4 kB / 330.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.007057, allocations: 0 / 330.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.007061, allocations: 4 kB / 330.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.007269, allocations: 125.2 kB / 331.1 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.007271, allocations: 0 / 331.1 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.007299, allocations: 11.98 kB / 331.1 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007302, allocations: 4 kB / 331.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.007311, allocations: 4 kB / 331.1 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.007313, allocations: 4.125 kB / 331.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.007317, allocations: 11.97 kB / 331.1 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.00754, allocations: 492.5 kB / 331.6 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.007549, allocations: 7.953 kB / 331.6 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.00756, allocations: 0 / 331.6 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.007674, allocations: 12 kB / 331.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.007716, allocations: 7.984 kB / 331.6 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.007719, allocations: 4 kB / 331.6 MB, free: 9.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.711e-05/0.007756, allocations: 95.27 kB / 331.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007757, allocations: 0 / 331.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.007998, allocations: 19.88 kB / 331.7 MB, free: 9.016 MB / 298.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.586e-05/0.008074, allocations: 95.19 kB / 331.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.008222, allocations: 67.77 kB / 331.9 MB, free: 8.848 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.008225, allocations: 4.312 kB / 331.9 MB, free: 8.844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.616e-05/0.008281, allocations: 35.91 kB / 331.9 MB, free: 8.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.008618, allocations: 7.094 kB / 331.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.008987, allocations: 218.5 kB / 332.1 MB, free: 8.547 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.289e-05/0.00906, allocations: 79.08 kB / 332.2 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.009095, allocations: 20.81 kB / 332.2 MB, free: 8.43 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.009095, allocations: 0 / 332.2 MB, free: 8.43 MB / 298.7 MB Notification: Performance of Templates: time 0.001889/0.01098, allocations: 0.9221 MB / 333.2 MB, free: 7.504 MB / 298.7 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.371247064322233]