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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 99.53 kB / 21.73 MB, free: 2.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 161.1 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.125e-05, allocations: 2.312 kB / 250.3 MB, free: 7.848 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003324/0.003356, allocations: 1.608 MB / 252 MB, free: 6.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009307/0.004286, allocations: 463.7 kB / 252.4 MB, free: 5.766 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.004344, allocations: 4 kB / 252.4 MB, free: 5.762 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.027e-05/0.004384, allocations: 7.875 kB / 252.4 MB, free: 5.754 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.004486, allocations: 11.86 kB / 252.4 MB, free: 5.742 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.004647, allocations: 15.98 kB / 252.4 MB, free: 5.727 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.004777, allocations: 63.78 kB / 252.5 MB, free: 5.664 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.004949, allocations: 35.91 kB / 252.5 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.005087, allocations: 43.89 kB / 252.6 MB, free: 5.586 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.838e-05/0.005155, allocations: 23.91 kB / 252.6 MB, free: 5.562 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.005178, allocations: 4 kB / 252.6 MB, free: 5.559 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.005193, allocations: 8 kB / 252.6 MB, free: 5.551 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.005215, allocations: 7.938 kB / 252.6 MB, free: 5.543 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.005257, allocations: 23.91 kB / 252.7 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.005407, allocations: 75.7 kB / 252.7 MB, free: 5.445 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.00541, allocations: 0 / 252.7 MB, free: 5.445 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.005411, allocations: 0 / 252.7 MB, free: 5.445 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.005416, allocations: 0 / 252.7 MB, free: 5.445 MB / 234.7 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.0006345/0.006051, allocations: 404.1 kB / 253.1 MB, free: 5.016 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.006096, allocations: 8.031 kB / 253.1 MB, free: 5.008 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.006151, allocations: 12.89 kB / 253.1 MB, free: 4.996 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.006298, allocations: 124.4 kB / 253.3 MB, free: 4.848 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.006324, allocations: 8.375 kB / 253.3 MB, free: 4.84 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.006339, allocations: 4.375 kB / 253.3 MB, free: 4.836 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.006608, allocations: 120.7 kB / 253.4 MB, free: 4.691 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.006634, allocations: 4.125 kB / 253.4 MB, free: 4.688 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.006652, allocations: 4.375 kB / 253.4 MB, free: 4.684 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.006659, allocations: 7.938 kB / 253.4 MB, free: 4.676 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.006831, allocations: 55.89 kB / 253.5 MB, free: 4.621 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/0.007697, allocations: 0.8157 MB / 254.3 MB, free: 3.75 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.007941, allocations: 147.4 kB / 254.4 MB, free: 3.543 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.008068, allocations: 70.48 kB / 254.5 MB, free: 3.453 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.008091, allocations: 3.938 kB / 254.5 MB, free: 3.449 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.008136, allocations: 41.38 kB / 254.5 MB, free: 3.398 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.008137, allocations: 4 kB / 254.5 MB, free: 3.395 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004692/0.008607, allocations: 113.5 kB / 254.7 MB, free: 3.277 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.008716, allocations: 158.2 kB / 254.8 MB, free: 3.086 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.008878, allocations: 185.9 kB / 255 MB, free: 2.887 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.009038, allocations: 29.7 kB / 255 MB, free: 2.852 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.009141, allocations: 147.4 kB / 255.2 MB, free: 2.703 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.009169, allocations: 15.84 kB / 255.2 MB, free: 2.688 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.009224, allocations: 35.36 kB / 255.2 MB, free: 2.645 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000262/0.009486, allocations: 0.4922 MB / 255.7 MB, free: 2.137 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.202e-05/0.009578, allocations: 19.98 kB / 255.7 MB, free: 2.117 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.009682, allocations: 62.36 kB / 255.8 MB, free: 2.035 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.009872, allocations: 94.34 kB / 255.9 MB, free: 1.922 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.009873, allocations: 0 / 255.9 MB, free: 1.922 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000227/0.0101, allocations: 93.56 kB / 256 MB, free: 1.824 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.01012, allocations: 7.938 kB / 256 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01013, allocations: 0 / 256 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.01015, allocations: 4.125 kB / 256 MB, free: 1.812 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.01026, allocations: 15.98 kB / 256 MB, free: 1.797 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.01027, allocations: 160 / 256 MB, free: 1.797 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.01033, allocations: 8 kB / 256 MB, free: 1.789 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01034, allocations: 4 kB / 256 MB, free: 1.785 MB / 234.7 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 0.0001648/0.01051, allocations: 168.5 kB / 256.2 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.01059, allocations: 7.953 kB / 256.2 MB, free: 1.602 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.01064, allocations: 19.56 kB / 256.2 MB, free: 1.582 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.01065, allocations: 7.938 kB / 256.2 MB, free: 1.574 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01065, allocations: 0 / 256.2 MB, free: 1.574 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01066, allocations: 0 / 256.2 MB, free: 1.574 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.01103, allocations: 148.5 kB / 256.4 MB, free: 1.395 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.01104, allocations: 4 kB / 256.4 MB, free: 1.391 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/0.0111, allocations: 15.94 kB / 256.4 MB, free: 1.375 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.0111, allocations: 0 / 256.4 MB, free: 1.375 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01112, allocations: 4 kB / 256.4 MB, free: 1.371 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01112, allocations: 0 / 256.4 MB, free: 1.371 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01112, allocations: 0 / 256.4 MB, free: 1.371 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.01173, allocations: 0.7075 MB / 257.1 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.01175, allocations: 11.95 kB / 257.1 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.01177, allocations: 0 / 257.1 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.01196, allocations: 8 kB / 257.1 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.01202, allocations: 11.98 kB / 257.1 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.01203, allocations: 4 kB / 257.1 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.11e-05/0.01212, allocations: 139.5 kB / 257.3 MB, free: 480 kB / 234.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01212, allocations: 0 / 257.3 MB, free: 480 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003689/0.01249, allocations: 8 kB / 257.3 MB, free: 472 kB / 234.7 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.0001336/0.01262, allocations: 103.2 kB / 257.4 MB, free: 356 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.01285, allocations: 63.72 kB / 257.4 MB, free: 288 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01286, allocations: 4 kB / 257.4 MB, free: 284 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.01296, allocations: 43.59 kB / 257.5 MB, free: 236 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.01345, allocations: 4 kB / 257.5 MB, free: 232 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.01399, allocations: 223.6 kB / 257.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.0141, allocations: 75.77 kB / 257.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.759e-05/0.01414, allocations: 4 kB / 257.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.01418, allocations: 12.5 kB / 257.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01418, allocations: 0 / 257.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of Templates: time 0.003455/0.01763, allocations: 0.549 MB / 258.3 MB, free: 15.31 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.432847996009514]