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) 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 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_3.2.3_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.00122/0.00122, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001374/0.001374, allocations: 187 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB 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.001518/0.001518, allocations: 51.92 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.115, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003494/0.1186, allocations: 1.587 MB / 376.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.1195, allocations: 472.4 kB / 377.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.1196, allocations: 4 kB / 377.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.522e-05/0.1198, allocations: 7.875 kB / 377.2 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.1199, allocations: 11.88 kB / 377.2 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.1201, allocations: 19.91 kB / 377.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1203, allocations: 59.78 kB / 377.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.1205, allocations: 43.95 kB / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1207, allocations: 35.8 kB / 377.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1208, allocations: 31.84 kB / 377.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.1209, allocations: 8 kB / 377.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.1209, allocations: 4 kB / 377.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.1209, allocations: 8 kB / 377.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.121, allocations: 35.78 kB / 377.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1211, allocations: 71.67 kB / 377.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1211, allocations: 0 / 377.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1211, allocations: 0 / 377.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1212, allocations: 0 / 377.5 MB, free: 2.184 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.0006003/0.1218, allocations: 375.3 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1218, allocations: 8.031 kB / 377.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.1219, allocations: 8.844 kB / 377.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.122, allocations: 184.2 kB / 378.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.1221, allocations: 8.375 kB / 378.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1221, allocations: 4.375 kB / 378.1 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.1224, allocations: 118.3 kB / 378.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1224, allocations: 3.938 kB / 378.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1224, allocations: 4 kB / 378.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1224, allocations: 4 kB / 378.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1226, allocations: 55.89 kB / 378.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007128/0.1233, allocations: 0.6419 MB / 378.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1235, allocations: 112.9 kB / 379 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1236, allocations: 60.41 kB / 379.1 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1237, allocations: 4 kB / 379.1 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1237, allocations: 46.48 kB / 379.1 MB, free: 332 kB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1237, allocations: 0 / 379.1 MB, free: 332 kB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004678/0.1242, allocations: 122 kB / 379.2 MB, free: 204 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.1243, allocations: 162.2 kB / 379.4 MB, free: 4 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2541/0.3784, allocations: 121.6 kB / 379.5 MB, free: 13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.3785, allocations: 27.72 kB / 379.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.3786, allocations: 98.52 kB / 379.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.3786, allocations: 15.77 kB / 379.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.3787, allocations: 20.53 kB / 379.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.3788, allocations: 317 kB / 380 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3789, allocations: 19.67 kB / 380 MB, free: 12.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.425e-05/0.379, allocations: 54.27 kB / 380.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.3792, allocations: 80.12 kB / 380.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3792, allocations: 0 / 380.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002707/0.3795, allocations: 100.3 kB / 380.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3795, allocations: 5.219 kB / 380.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3795, allocations: 2.594 kB / 380.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.3796, allocations: 1.219 kB / 380.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3797, allocations: 17.75 kB / 380.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.3797, allocations: 5.562 kB / 380.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.3798, allocations: 16.88 kB / 380.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3798, allocations: 3.781 kB / 380.3 MB, free: 12.45 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 9.865e-05/0.3799, allocations: 116.9 kB / 380.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.3801, allocations: 10.41 kB / 380.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.3801, allocations: 21.42 kB / 380.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3801, allocations: 2.844 kB / 380.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3801, allocations: 1.25 kB / 380.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.3801, allocations: 1.891 kB / 380.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/0.3806, allocations: 181.4 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3806, allocations: 3.109 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.3806, allocations: 15.02 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3807, allocations: 2.469 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3807, allocations: 6.344 kB / 380.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3807, allocations: 1.375 kB / 380.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.3807, allocations: 3.531 kB / 380.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.3811, allocations: 494.6 kB / 381.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.3811, allocations: 80.89 kB / 381.2 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3811, allocations: 13.56 kB / 381.2 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.3814, allocations: 7.594 kB / 381.2 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.3814, allocations: 12.7 kB / 381.2 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.3814, allocations: 6 kB / 381.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.933e-05/0.3815, allocations: 90.08 kB / 381.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3815, allocations: 0 / 381.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.3819, allocations: 14.8 kB / 381.4 MB, free: 11.52 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 0.0001469/0.3821, allocations: 101 kB / 381.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.3824, allocations: 63.03 kB / 381.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3824, allocations: 1.375 kB / 381.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3825, allocations: 35.73 kB / 381.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.383, allocations: 7.812 kB / 381.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.3835, allocations: 203.3 kB / 381.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.3837, allocations: 0.6934 MB / 382.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.3838, allocations: 2.031 kB / 382.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.3838, allocations: 11.39 kB / 382.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3839, allocations: 3.938 kB / 382.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of Templates: time 0.00347/0.3873, allocations: 0.5563 MB / 383 MB, free: 10.52 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches