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.001956/0.001956, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.002062/0.002062, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.616/1.616, allocations: 205.1 MB / 224.5 MB, free: 12.28 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.00126/0.00126, allocations: 51.92 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09118, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002786/0.094, allocations: 1.587 MB / 376.7 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007248/0.09475, allocations: 476.3 kB / 377.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.09482, allocations: 0 / 377.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.09487, allocations: 3.938 kB / 377.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.09498, allocations: 23.8 kB / 377.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.09513, allocations: 15.98 kB / 377.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.427e-05/0.09523, allocations: 55.78 kB / 377.3 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.0954, allocations: 43.95 kB / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.593e-05/0.09549, allocations: 35.8 kB / 377.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.09557, allocations: 27.86 kB / 377.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.09559, allocations: 4 kB / 377.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.09561, allocations: 4 kB / 377.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.09569, allocations: 19.97 kB / 377.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.09573, allocations: 27.81 kB / 377.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.09584, allocations: 71.66 kB / 377.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.09586, allocations: 4 kB / 377.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09586, allocations: 0 / 377.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.09587, allocations: 0 / 377.5 MB, free: 2.188 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.0004484/0.09633, allocations: 371.3 kB / 377.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.09637, allocations: 8.031 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.09641, allocations: 12.84 kB / 377.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.09653, allocations: 188.1 kB / 378.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.09656, allocations: 8.375 kB / 378.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.09658, allocations: 4.375 kB / 378.1 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.09681, allocations: 126.2 kB / 378.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.09683, allocations: 0 / 378.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.09684, allocations: 4 kB / 378.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.09686, allocations: 8 kB / 378.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.09704, allocations: 55.89 kB / 378.3 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.09763, allocations: 0.638 MB / 378.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.09781, allocations: 109 kB / 379 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.09794, allocations: 68.28 kB / 379.1 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.09796, allocations: 0 / 379.1 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.098, allocations: 38.44 kB / 379.1 MB, free: 336 kB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.09801, allocations: 8 kB / 379.1 MB, free: 328 kB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004591/0.09847, allocations: 121.4 kB / 379.3 MB, free: 200 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.09858, allocations: 158.2 kB / 379.4 MB, free: 4 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2025/0.3011, allocations: 120.2 kB / 379.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3012, allocations: 31.7 kB / 379.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.3012, allocations: 96.61 kB / 379.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.3013, allocations: 15.58 kB / 379.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.3013, allocations: 20.27 kB / 379.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.3014, allocations: 317.9 kB / 380 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.3015, allocations: 21.38 kB / 380 MB, free: 12.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.849e-05/0.3016, allocations: 54.48 kB / 380.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.3018, allocations: 82.98 kB / 380.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3018, allocations: 0 / 380.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002352/0.302, allocations: 99.12 kB / 380.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.302, allocations: 5.5 kB / 380.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3021, allocations: 1.891 kB / 380.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.3021, allocations: 5.125 kB / 380.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3022, allocations: 13.28 kB / 380.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3022, allocations: 10.22 kB / 380.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.3023, allocations: 10.56 kB / 380.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3023, allocations: 2.75 kB / 380.3 MB, free: 12.46 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.35e-05/0.3024, allocations: 118.8 kB / 380.4 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.3025, allocations: 13.94 kB / 380.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.3025, allocations: 18.59 kB / 380.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3025, allocations: 2.031 kB / 380.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3026, allocations: 1.375 kB / 380.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3026, allocations: 2.031 kB / 380.5 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.303, allocations: 180.7 kB / 380.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.303, allocations: 3.125 kB / 380.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.655e-05/0.3031, allocations: 15.33 kB / 380.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3031, allocations: 6.125 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3031, allocations: 5.969 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3031, allocations: 5.219 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3031, allocations: 2.219 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.3034, allocations: 489 kB / 381.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.3034, allocations: 80.7 kB / 381.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3035, allocations: 12.31 kB / 381.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3037, allocations: 6.969 kB / 381.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.3037, allocations: 10.56 kB / 381.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.3037, allocations: 7.469 kB / 381.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.423e-05/0.3038, allocations: 90.97 kB / 381.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3038, allocations: 0 / 381.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.3042, allocations: 14.41 kB / 381.4 MB, free: 11.54 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.0001188/0.3043, allocations: 101.9 kB / 381.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3045, allocations: 60.62 kB / 381.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3046, allocations: 0 / 381.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3047, allocations: 35.39 kB / 381.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.3052, allocations: 9.938 kB / 381.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.3056, allocations: 204.9 kB / 381.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.3058, allocations: 0.6903 MB / 382.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.155e-05/0.3059, allocations: 6.359 kB / 382.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.3059, allocations: 11.2 kB / 382.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3059, allocations: 3.938 kB / 382.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of Templates: time 0.002848/0.3088, allocations: 0.5541 MB / 383 MB, free: 10.54 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