Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 119.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 192.3 kB / 21.35 MB, free: 1.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 247 MB, free: 4.305 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 47.92 kB / 358.7 MB, free: 8.406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09402, allocations: 49.44 MB / 408.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003054/0.09711, allocations: 1.588 MB / 409.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007387/0.09788, allocations: 430.9 kB / 410.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.09794, allocations: 0 / 410.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.129e-05/0.09799, allocations: 7.875 kB / 410.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.683e-05/0.09809, allocations: 15.86 kB / 410.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.09823, allocations: 19.91 kB / 410.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.647e-05/0.09834, allocations: 55.84 kB / 410.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.09852, allocations: 59.83 kB / 410.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.106e-05/0.09862, allocations: 27.92 kB / 410.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.09869, allocations: 27.84 kB / 410.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.09873, allocations: 8 kB / 410.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.09874, allocations: 4 kB / 410.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.09878, allocations: 11.94 kB / 410.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.09883, allocations: 31.8 kB / 410.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.09897, allocations: 71.66 kB / 410.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.09898, allocations: 0 / 410.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09899, allocations: 0 / 410.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.099, allocations: 4 kB / 410.4 MB, free: 4.57 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.000545/0.09955, allocations: 387.1 kB / 410.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.09959, allocations: 8.031 kB / 410.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.09963, allocations: 16.81 kB / 410.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.09978, allocations: 168.3 kB / 411 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.09981, allocations: 4.375 kB / 411 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.09983, allocations: 11.94 kB / 411 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1001, allocations: 117.9 kB / 411.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1001, allocations: 0 / 411.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1001, allocations: 0 / 411.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1001, allocations: 4 kB / 411.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.1003, allocations: 51.89 kB / 411.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006861/0.101, allocations: 0.6459 MB / 411.8 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.1012, allocations: 120.9 kB / 412 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1014, allocations: 56.39 kB / 412 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1014, allocations: 8 kB / 412 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1014, allocations: 38.5 kB / 412.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1014, allocations: 0 / 412.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004616/0.1019, allocations: 125.9 kB / 412.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.102, allocations: 162.2 kB / 412.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1021, allocations: 121.8 kB / 412.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1022, allocations: 25.7 kB / 412.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.1022, allocations: 96.03 kB / 412.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.1023, allocations: 23.8 kB / 412.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.1023, allocations: 21.83 kB / 412.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1025, allocations: 322.8 kB / 412.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.1026, allocations: 19.97 kB / 413 MB, free: 1.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.1027, allocations: 48.28 kB / 413 MB, free: 1.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.1029, allocations: 80.2 kB / 413.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1029, allocations: 0 / 413.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002437/0.1031, allocations: 105.5 kB / 413.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1032, allocations: 7.938 kB / 413.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1032, allocations: 0 / 413.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1032, allocations: 7.938 kB / 413.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.1033, allocations: 11.98 kB / 413.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1033, allocations: 4 kB / 413.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.1034, allocations: 11.94 kB / 413.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1034, allocations: 4 kB / 413.2 MB, free: 1.422 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.0001003/0.1035, allocations: 125.9 kB / 413.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.529e-05/0.1036, allocations: 4 kB / 413.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.1036, allocations: 11.52 kB / 413.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1036, allocations: 8.062 kB / 413.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1037, allocations: 4 kB / 413.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1037, allocations: 4 kB / 413.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.1041, allocations: 185.6 kB / 413.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.1041, allocations: 4 kB / 413.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.1042, allocations: 11.98 kB / 413.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1042, allocations: 4 kB / 413.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1042, allocations: 4 kB / 413.6 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1042, allocations: 3.938 kB / 413.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1042, allocations: 4 kB / 413.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.1046, allocations: 492.6 kB / 414.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.1047, allocations: 89 kB / 414.2 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1047, allocations: 0 / 414.2 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.1049, allocations: 11.92 kB / 414.2 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.105, allocations: 11.98 kB / 414.2 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.105, allocations: 4 kB / 414.2 MB, free: 368 kB / 334.1 MB Notification: Performance of sorting global known variables: time 5.396e-05/0.1051, allocations: 91.28 kB / 414.3 MB, free: 276 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1051, allocations: 0 / 414.3 MB, free: 276 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.1054, allocations: 8 kB / 414.3 MB, free: 268 kB / 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.0001104/0.1056, allocations: 111.1 kB / 414.4 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.1058, allocations: 55.91 kB / 414.4 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1058, allocations: 320 / 414.4 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.1059, allocations: 39.91 kB / 414.5 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.1064, allocations: 11.94 kB / 414.5 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.1069, allocations: 228.5 kB / 414.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1073, allocations: 0.6961 MB / 415.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.1073, allocations: 11.44 kB / 415.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1073, allocations: 0 / 415.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Templates: time 0.002499/0.1098, allocations: 0.8658 MB / 416.3 MB, free: 14.17 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.596957047004253]