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.001666/0.001666, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002106/0.002106, allocations: 185.9 kB / 23.7 MB, free: 4.191 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.554/1.554, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.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.001688/0.001688, allocations: 43.92 kB / 370.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2467, allocations: 52.19 MB / 423.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002733/0.2494, allocations: 1.582 MB / 424.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006689/0.2501, allocations: 403 kB / 425 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.2502, allocations: 4 kB / 425 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.2502, allocations: 7.875 kB / 425.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.2503, allocations: 15.8 kB / 425.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.2504, allocations: 15.98 kB / 425.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2505, allocations: 67.77 kB / 425.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.2507, allocations: 31.86 kB / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.2508, allocations: 35.86 kB / 425.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.2508, allocations: 27.83 kB / 425.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.2509, allocations: 8 kB / 425.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.2509, allocations: 4 kB / 425.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.2509, allocations: 12 kB / 425.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.2509, allocations: 23.8 kB / 425.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.2511, allocations: 67.58 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2511, allocations: 0 / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2511, allocations: 0 / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2511, allocations: 3.938 kB / 425.4 MB, free: 12.14 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.0004742/0.2515, allocations: 311.5 kB / 425.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2516, allocations: 12.03 kB / 425.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.2516, allocations: 8.891 kB / 425.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2517, allocations: 118.4 kB / 425.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2517, allocations: 8.375 kB / 425.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.2518, allocations: 11.94 kB / 425.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.252, allocations: 109.9 kB / 425.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.252, allocations: 0 / 425.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.252, allocations: 0 / 425.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.252, allocations: 4 kB / 425.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.2522, allocations: 63.89 kB / 426 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.2528, allocations: 0.5752 MB / 426.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.253, allocations: 117 kB / 426.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2531, allocations: 52.33 kB / 426.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.2531, allocations: 4 kB / 426.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.2532, allocations: 42.5 kB / 426.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.2532, allocations: 0 / 426.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004282/0.2536, allocations: 117.5 kB / 426.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.2537, allocations: 162.8 kB / 427.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2538, allocations: 117.8 kB / 427.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2538, allocations: 37.7 kB / 427.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.2539, allocations: 92.09 kB / 427.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.2539, allocations: 19.8 kB / 427.3 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.2539, allocations: 25.7 kB / 427.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2541, allocations: 310.8 kB / 427.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.2541, allocations: 27.91 kB / 427.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.844e-05/0.2542, allocations: 52.28 kB / 427.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2544, allocations: 84.14 kB / 427.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2544, allocations: 0 / 427.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002312/0.2546, allocations: 97.53 kB / 427.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2547, allocations: 8.156 kB / 427.9 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.2547, allocations: 0 / 427.9 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.2547, allocations: 4 kB / 427.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.335e-05/0.2548, allocations: 11.98 kB / 427.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2548, allocations: 3.938 kB / 427.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.2549, allocations: 15.94 kB / 427.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2549, allocations: 128 / 427.9 MB, free: 9.254 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 9.943e-05/0.255, allocations: 125.8 kB / 428.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-05/0.2551, allocations: 8 kB / 428.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.2551, allocations: 15.61 kB / 428.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2551, allocations: 4 kB / 428.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2551, allocations: 7.875 kB / 428.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2551, allocations: 7.938 kB / 428.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.2554, allocations: 125.2 kB / 428.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2554, allocations: 0 / 428.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.2555, allocations: 11.98 kB / 428.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2555, allocations: 4 kB / 428.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.2555, allocations: 0 / 428.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2555, allocations: 4 kB / 428.2 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2555, allocations: 0 / 428.2 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.2559, allocations: 496.5 kB / 428.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.2559, allocations: 11.94 kB / 428.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.256, allocations: 0 / 428.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.2562, allocations: 4 kB / 428.7 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.2562, allocations: 15.92 kB / 428.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2563, allocations: 4 kB / 428.8 MB, free: 8.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.074e-05/0.2563, allocations: 91.27 kB / 428.9 MB, free: 8.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2563, allocations: 4 kB / 428.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003939/0.2567, allocations: 19.94 kB / 428.9 MB, free: 8.25 MB / 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 8.868e-05/0.2568, allocations: 95.19 kB / 429 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.257, allocations: 55.89 kB / 429 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.257, allocations: 0 / 429 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2571, allocations: 36.48 kB / 429.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.2577, allocations: 11.94 kB / 429.1 MB, free: 8.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.2581, allocations: 206.8 kB / 429.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.564e-05/0.2582, allocations: 75.19 kB / 429.3 MB, free: 7.715 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.254e-05/0.2582, allocations: 4 kB / 429.4 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.2582, allocations: 11.5 kB / 429.4 MB, free: 7.699 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2582, allocations: 4 kB / 429.4 MB, free: 7.695 MB / 334.1 MB Notification: Performance of Templates: time 0.002732/0.261, allocations: 0.5761 MB / 429.9 MB, free: 7.121 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.615448169410229]