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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 110.9 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 190.6 kB / 18.68 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 43.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2306, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002526/0.2332, allocations: 1.593 MB / 403 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006171/0.2338, allocations: 426.9 kB / 403.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.2339, allocations: 0 / 403.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.204e-05/0.2339, allocations: 15.86 kB / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.669e-05/0.234, allocations: 11.88 kB / 403.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.2342, allocations: 15.98 kB / 403.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2343, allocations: 63.77 kB / 403.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.2344, allocations: 55.89 kB / 403.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.2345, allocations: 23.86 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.2346, allocations: 31.84 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.2346, allocations: 4 kB / 403.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.2347, allocations: 4 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.2347, allocations: 23.92 kB / 403.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.2347, allocations: 27.81 kB / 403.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.2349, allocations: 71.7 kB / 403.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2349, allocations: 0 / 403.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2349, allocations: 4 kB / 403.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.2349, allocations: 0 / 403.8 MB, free: 6.52 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.0004507/0.2353, allocations: 380.4 kB / 404.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2354, allocations: 8.031 kB / 404.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.2354, allocations: 8.844 kB / 404.1 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2355, allocations: 176.2 kB / 404.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2356, allocations: 4.375 kB / 404.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.2356, allocations: 11.94 kB / 404.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.2358, allocations: 121.8 kB / 404.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2358, allocations: 0 / 404.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2358, allocations: 0 / 404.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2359, allocations: 8 kB / 404.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.236, allocations: 59.89 kB / 404.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.2367, allocations: 0.6303 MB / 405.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.2368, allocations: 113 kB / 405.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.2369, allocations: 60.28 kB / 405.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.237, allocations: 0 / 405.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.237, allocations: 38.5 kB / 405.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.237, allocations: 4 kB / 405.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004372/0.2374, allocations: 125.4 kB / 405.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.2375, allocations: 158.2 kB / 405.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.2376, allocations: 118.4 kB / 405.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2376, allocations: 33.7 kB / 405.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.2377, allocations: 92.03 kB / 405.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.2377, allocations: 23.73 kB / 405.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.2378, allocations: 17.72 kB / 405.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.2379, allocations: 322.8 kB / 406.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.238, allocations: 23.92 kB / 406.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.564e-05/0.2381, allocations: 56.27 kB / 406.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.2382, allocations: 80.2 kB / 406.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2382, allocations: 0 / 406.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002599/0.2385, allocations: 97.44 kB / 406.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2385, allocations: 4 kB / 406.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2385, allocations: 4 kB / 406.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2386, allocations: 0 / 406.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.2387, allocations: 20.08 kB / 406.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2387, allocations: 4 kB / 406.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.2387, allocations: 8 kB / 406.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.2388, allocations: 4 kB / 406.5 MB, free: 3.398 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 7.723e-05/0.2388, allocations: 121.8 kB / 406.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.401e-05/0.2389, allocations: 8.031 kB / 406.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.239, allocations: 7.531 kB / 406.7 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.239, allocations: 11.94 kB / 406.7 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.239, allocations: 3.938 kB / 406.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.239, allocations: 93.03 kB / 406.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2391, allocations: 0 / 406.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2393, allocations: 8 kB / 406.8 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.2393, allocations: 15.92 kB / 406.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000375/0.2397, allocations: 485.9 kB / 407.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003603/0.2401, allocations: 0.5585 MB / 407.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.671e-05/0.2402, allocations: 31.97 kB / 407.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.231e-05/0.2403, allocations: 95.27 kB / 407.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of Backend: time 3.41e-07/0.2403, allocations: 0 / 407.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006779/0.2409, allocations: 106.3 kB / 408 MB, free: 1.805 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004736/0.2414, allocations: 0.6133 MB / 408.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of Templates: time 0.002589/0.244, allocations: 0.7243 MB / 409.4 MB, free: 428 kB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches