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.001329/0.001329, allocations: 84.77 kB / 21.44 MB, free: 296 kB / 14.72 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.001342/0.001342, allocations: 161 kB / 24.7 MB, free: 3.551 MB / 14.72 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.434/1.434, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 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 2.244e-06/2.244e-06, allocations: 0 / 298.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.757e-05/3.981e-05, allocations: 10.22 kB / 298.9 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003045/0.003085, allocations: 1.571 MB / 300.5 MB, free: 7.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008341/0.003919, allocations: 448.4 kB / 300.9 MB, free: 6.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.003984, allocations: 0 / 300.9 MB, free: 6.797 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.472e-05/0.004029, allocations: 11.88 kB / 301 MB, free: 6.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.004122, allocations: 15.84 kB / 301 MB, free: 6.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.004287, allocations: 19.98 kB / 301 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.004398, allocations: 59.78 kB / 301.1 MB, free: 6.691 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.004575, allocations: 35.91 kB / 301.1 MB, free: 6.656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.004709, allocations: 35.91 kB / 301.1 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.004796, allocations: 31.89 kB / 301.2 MB, free: 6.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.004819, allocations: 4 kB / 301.2 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.004832, allocations: 4 kB / 301.2 MB, free: 6.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.00486, allocations: 15.94 kB / 301.2 MB, free: 6.566 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.0049, allocations: 19.92 kB / 301.2 MB, free: 6.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.005042, allocations: 71.75 kB / 301.3 MB, free: 6.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.005044, allocations: 0 / 301.3 MB, free: 6.477 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005044, allocations: 0 / 301.3 MB, free: 6.477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.005049, allocations: 0 / 301.3 MB, free: 6.477 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.000513/0.005561, allocations: 302 kB / 301.6 MB, free: 6.152 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.005607, allocations: 16.03 kB / 301.6 MB, free: 6.137 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.005648, allocations: 12.84 kB / 301.6 MB, free: 6.125 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.005773, allocations: 117.6 kB / 301.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.005801, allocations: 8.375 kB / 301.7 MB, free: 5.977 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.005815, allocations: 4.375 kB / 301.7 MB, free: 5.973 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.00605, allocations: 114.5 kB / 301.8 MB, free: 5.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.006062, allocations: 4.125 kB / 301.8 MB, free: 5.836 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.006074, allocations: 4.312 kB / 301.8 MB, free: 5.832 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.006088, allocations: 7.938 kB / 301.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.006275, allocations: 63.89 kB / 301.9 MB, free: 5.762 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.006894, allocations: 0.5636 MB / 302.5 MB, free: 5.152 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.00709, allocations: 117 kB / 302.6 MB, free: 4.992 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.007204, allocations: 52.34 kB / 302.6 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.007221, allocations: 0 / 302.6 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.007256, allocations: 42.56 kB / 302.7 MB, free: 4.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.007257, allocations: 3.938 kB / 302.7 MB, free: 4.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004564/0.007713, allocations: 121.4 kB / 302.8 MB, free: 4.746 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.007813, allocations: 162.2 kB / 303 MB, free: 4.551 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.007923, allocations: 118.5 kB / 303.1 MB, free: 4.426 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.007946, allocations: 25.7 kB / 303.1 MB, free: 4.395 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.008013, allocations: 108.1 kB / 303.2 MB, free: 4.285 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.008038, allocations: 11.84 kB / 303.2 MB, free: 4.273 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.008081, allocations: 25.72 kB / 303.2 MB, free: 4.242 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.008225, allocations: 318.8 kB / 303.6 MB, free: 3.922 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.008308, allocations: 19.98 kB / 303.6 MB, free: 3.902 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.886e-05/0.008407, allocations: 52.39 kB / 303.6 MB, free: 3.836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.008609, allocations: 92.14 kB / 303.7 MB, free: 3.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.00861, allocations: 0 / 303.7 MB, free: 3.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002363/0.008847, allocations: 97.55 kB / 303.8 MB, free: 3.629 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.008859, allocations: 4 kB / 303.8 MB, free: 3.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.008864, allocations: 4.156 kB / 303.8 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.00888, allocations: 4 kB / 303.8 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.008983, allocations: 15.92 kB / 303.8 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.008991, allocations: 4 kB / 303.8 MB, free: 3.598 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.009054, allocations: 4 kB / 303.8 MB, free: 3.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.009063, allocations: 4 kB / 303.8 MB, free: 3.59 MB / 286.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 0.0001006/0.009164, allocations: 121.8 kB / 304 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.009255, allocations: 7.953 kB / 304 MB, free: 3.453 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.00928, allocations: 11.58 kB / 304 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.009284, allocations: 8 kB / 304 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.009288, allocations: 0 / 304 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.009295, allocations: 7.984 kB / 304 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.009617, allocations: 125.2 kB / 304.1 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.009619, allocations: 0 / 304.1 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.00969, allocations: 19.92 kB / 304.1 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.009693, allocations: 4 kB / 304.1 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.009701, allocations: 7.875 kB / 304.2 MB, free: 3.246 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.009705, allocations: 4 kB / 304.2 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009706, allocations: 0 / 304.2 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.01013, allocations: 492.5 kB / 304.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.01015, allocations: 11.89 kB / 304.7 MB, free: 2.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.01016, allocations: 3.938 kB / 304.7 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.01038, allocations: 15.98 kB / 304.7 MB, free: 2.711 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.01043, allocations: 7.984 kB / 304.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.01043, allocations: 0 / 304.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.01049, allocations: 91.27 kB / 304.8 MB, free: 2.613 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01049, allocations: 4 kB / 304.8 MB, free: 2.609 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000381/0.01087, allocations: 12 kB / 304.8 MB, free: 2.598 MB / 286.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.000103/0.01097, allocations: 95.25 kB / 304.9 MB, free: 2.496 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.01121, allocations: 55.84 kB / 304.9 MB, free: 2.441 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01121, allocations: 7.938 kB / 304.9 MB, free: 2.434 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.01132, allocations: 32.47 kB / 305 MB, free: 2.402 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.01183, allocations: 10.62 kB / 305 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.01233, allocations: 188.3 kB / 305.2 MB, free: 2.172 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.01243, allocations: 83.19 kB / 305.2 MB, free: 2.07 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.01247, allocations: 8 kB / 305.3 MB, free: 2.062 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.01251, allocations: 8.5 kB / 305.3 MB, free: 2.055 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01251, allocations: 0 / 305.3 MB, free: 2.055 MB / 286.1 MB Notification: Performance of Templates: time 0.003027/0.01554, allocations: 0.5463 MB / 305.8 MB, free: 1.512 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] 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.080060504376888]