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.001326/0.001326, allocations: 108.4 kB / 16.92 MB, free: 6.141 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.00144/0.00144, allocations: 191.3 kB / 17.85 MB, free: 5.309 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.357/1.357, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 48.5 kB / 300.6 MB, free: 5.914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1125, allocations: 49.45 MB / 350 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003077/0.1156, allocations: 1.579 MB / 351.6 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.1163, allocations: 428.4 kB / 352 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.1164, allocations: 0 / 352 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/0.1165, allocations: 15.86 kB / 352.1 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.591e-05/0.1166, allocations: 15.86 kB / 352.1 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.1168, allocations: 15.98 kB / 352.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.599e-05/0.1169, allocations: 63.72 kB / 352.2 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.117, allocations: 39.97 kB / 352.2 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.859e-05/0.1171, allocations: 31.84 kB / 352.2 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.1172, allocations: 35.84 kB / 352.3 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1172, allocations: 4 kB / 352.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.1172, allocations: 8 kB / 352.3 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.1173, allocations: 11.88 kB / 352.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.1173, allocations: 35.8 kB / 352.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1174, allocations: 59.78 kB / 352.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1175, allocations: 0 / 352.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1175, allocations: 0 / 352.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1175, allocations: 4 kB / 352.4 MB, free: 2.094 MB / 286.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.0004826/0.118, allocations: 383.4 kB / 352.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.118, allocations: 11.97 kB / 352.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.118, allocations: 16.83 kB / 352.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1182, allocations: 164.3 kB / 352.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1182, allocations: 8.375 kB / 352.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1182, allocations: 8.125 kB / 353 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.1184, allocations: 118.8 kB / 353.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1185, allocations: 0 / 353.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1185, allocations: 4 kB / 353.1 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1185, allocations: 0 / 353.1 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.1187, allocations: 59.89 kB / 353.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.1193, allocations: 0.6419 MB / 353.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1195, allocations: 121 kB / 353.9 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1196, allocations: 60.27 kB / 354 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1196, allocations: 4 kB / 354 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1197, allocations: 42.5 kB / 354 MB, free: 236 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1197, allocations: 0 / 354 MB, free: 236 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004333/0.1201, allocations: 122 kB / 354.1 MB, free: 108 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.1202, allocations: 162.1 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.1203, allocations: 125.7 kB / 354.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1203, allocations: 25.7 kB / 354.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.1204, allocations: 99.98 kB / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.1204, allocations: 7.812 kB / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.1205, allocations: 25.83 kB / 354.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1206, allocations: 318.8 kB / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.1207, allocations: 23.97 kB / 354.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.945e-05/0.1208, allocations: 48.28 kB / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1209, allocations: 80.2 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.121, allocations: 0 / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002207/0.1212, allocations: 97.53 kB / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1212, allocations: 8 kB / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1212, allocations: 0 / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1212, allocations: 0 / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.1213, allocations: 19.92 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1214, allocations: 0 / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.1214, allocations: 11.98 kB / 355.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1214, allocations: 4 kB / 355.2 MB, free: 14.96 MB / 302.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 8.921e-05/0.1215, allocations: 125.9 kB / 355.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.116e-05/0.1216, allocations: 7.906 kB / 355.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.1217, allocations: 15.52 kB / 355.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1217, allocations: 7.875 kB / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.1217, allocations: 7.984 kB / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1217, allocations: 0 / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.1221, allocations: 181.6 kB / 355.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1221, allocations: 3.938 kB / 355.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/0.1222, allocations: 11.98 kB / 355.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1222, allocations: 8 kB / 355.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.1222, allocations: 0 / 355.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1222, allocations: 7.938 kB / 355.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1222, allocations: 0 / 355.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.1226, allocations: 492.6 kB / 356 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.1226, allocations: 85.02 kB / 356.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1226, allocations: 8.188 kB / 356.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.1229, allocations: 15.92 kB / 356.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.1229, allocations: 7.984 kB / 356.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1229, allocations: 4 kB / 356.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.603e-05/0.123, allocations: 91.28 kB / 356.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.123, allocations: 0 / 356.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.1234, allocations: 12 kB / 356.2 MB, free: 13.79 MB / 302.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.0001017/0.1235, allocations: 103.1 kB / 356.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.1237, allocations: 59.91 kB / 356.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1237, allocations: 320 / 356.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.863e-05/0.1238, allocations: 39.91 kB / 356.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.1243, allocations: 4.766 kB / 356.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.1248, allocations: 218.7 kB / 356.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.125, allocations: 0.6885 MB / 357.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.388e-05/0.1251, allocations: 4 kB / 357.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.1251, allocations: 7.438 kB / 357.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1251, allocations: 4 kB / 357.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of Templates: time 0.002499/0.1276, allocations: 0.5515 MB / 357.9 MB, free: 12.05 MB / 302.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/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) Reference file matches