Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 106.5 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 192.2 kB / 23.47 MB, free: 5.465 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 207.6 MB / 234 MB, free: 11.17 MB / 190.1 MB [Timeout remaining time 88] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.BusUsage") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 47.92 kB / 345.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2722, allocations: 49.12 MB / 394.9 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002546/0.2748, allocations: 1.609 MB / 396.5 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006502/0.2754, allocations: 467.1 kB / 397 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.2755, allocations: 8.969 kB / 397 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.2755, allocations: 10.59 kB / 397 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.86e-05/0.2756, allocations: 10.34 kB / 397 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.2757, allocations: 21.22 kB / 397 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.313e-05/0.2758, allocations: 62.62 kB / 397.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.276, allocations: 34.55 kB / 397.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.2761, allocations: 33.17 kB / 397.2 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.2761, allocations: 32.89 kB / 397.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.2762, allocations: 6.25 kB / 397.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.2762, allocations: 5.094 kB / 397.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.2762, allocations: 11.47 kB / 397.2 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.2762, allocations: 32.86 kB / 397.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.2763, allocations: 70.42 kB / 397.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2763, allocations: 0.5156 kB / 397.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2763, allocations: 0 / 397.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2764, allocations: 0 / 397.3 MB, free: 7.805 MB / 318.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.0003936/0.2767, allocations: 382.7 kB / 397.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2768, allocations: 8.562 kB / 397.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.2768, allocations: 14.09 kB / 397.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.2769, allocations: 173.7 kB / 397.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2769, allocations: 10.81 kB / 397.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.2769, allocations: 3.906 kB / 397.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.2771, allocations: 111.5 kB / 398 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2771, allocations: 1.125 kB / 398 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2771, allocations: 5.125 kB / 398 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2771, allocations: 2.062 kB / 398 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.2773, allocations: 62.69 kB / 398.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.2778, allocations: 0.6391 MB / 398.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.2779, allocations: 114.3 kB / 398.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.278, allocations: 55.66 kB / 398.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.278, allocations: 1.281 kB / 398.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.2781, allocations: 38.58 kB / 398.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2781, allocations: 0 / 398.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004034/0.2785, allocations: 122.3 kB / 399 MB, free: 6.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.2785, allocations: 161.2 kB / 399.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.2786, allocations: 132.8 kB / 399.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.2786, allocations: 27.05 kB / 399.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.2786, allocations: 98.3 kB / 399.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.2786, allocations: 15.5 kB / 399.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.2787, allocations: 20.14 kB / 399.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.2787, allocations: 319.4 kB / 399.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.2788, allocations: 20.41 kB / 399.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.2789, allocations: 57.22 kB / 399.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.279, allocations: 81.41 kB / 399.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.279, allocations: 0.9375 kB / 399.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002096/0.2792, allocations: 96.97 kB / 400 MB, free: 5.219 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2792, allocations: 6.141 kB / 400 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2792, allocations: 1.219 kB / 400 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2793, allocations: 1.438 kB / 400 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.2794, allocations: 16.77 kB / 400.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2794, allocations: 5.625 kB / 400.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.2794, allocations: 15.53 kB / 400.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.2794, allocations: 7.234 kB / 400.1 MB, free: 5.199 MB / 318.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 5.551e-05/0.2795, allocations: 119.5 kB / 400.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/0.2796, allocations: 8.344 kB / 400.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.2796, allocations: 18.73 kB / 400.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2796, allocations: 6.719 kB / 400.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2796, allocations: 1.219 kB / 400.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2796, allocations: 6.062 kB / 400.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.28, allocations: 184.3 kB / 400.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.28, allocations: 1.797 kB / 400.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.28, allocations: 12.36 kB / 400.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.28, allocations: 1.188 kB / 400.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.28, allocations: 3.5 kB / 400.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.28, allocations: 5.281 kB / 400.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.28, allocations: 1.859 kB / 400.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.2803, allocations: 493.5 kB / 400.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.2803, allocations: 89.16 kB / 401 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.2803, allocations: 6.438 kB / 401 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.2805, allocations: 11.05 kB / 401 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.2806, allocations: 14.3 kB / 401.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.2806, allocations: 4.016 kB / 401.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.47e-05/0.2806, allocations: 89.67 kB / 401.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2806, allocations: 0.6875 kB / 401.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.281, allocations: 17.25 kB / 401.2 MB, free: 4.188 MB / 318.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 7.315e-05/0.2811, allocations: 101.8 kB / 401.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.2813, allocations: 56.41 kB / 401.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2813, allocations: 1 kB / 401.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.2814, allocations: 40.14 kB / 401.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.2819, allocations: 4.922 kB / 401.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.2823, allocations: 240.2 kB / 401.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.2824, allocations: 0.6902 MB / 402.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.2824, allocations: 14.88 kB / 402.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2824, allocations: 4 kB / 402.3 MB, free: 3.133 MB / 318.1 MB Notification: Performance of Templates: time 0.002511/0.2849, allocations: 0.88 MB / 403.2 MB, free: 3.055 MB / 318.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches