Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001369/0.001369, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 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.001447/0.001447, allocations: 160.8 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 59.66 kB / 325.5 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1097, allocations: 53.34 MB / 378.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002948/0.1126, allocations: 1.609 MB / 380.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.1136, allocations: 462.8 kB / 380.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.1137, allocations: 4 kB / 381 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.1137, allocations: 11.86 kB / 381 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.1138, allocations: 7.875 kB / 381 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.114, allocations: 35.91 kB / 381 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1142, allocations: 67.77 kB / 381.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.1143, allocations: 32.09 kB / 381.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1145, allocations: 27.92 kB / 381.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.1145, allocations: 35.77 kB / 381.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1145, allocations: 7.938 kB / 381.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.1146, allocations: 12 kB / 381.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.1146, allocations: 11.98 kB / 381.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1146, allocations: 23.81 kB / 381.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1148, allocations: 75.64 kB / 381.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1148, allocations: 0 / 381.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1148, allocations: 4 kB / 381.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1148, allocations: 0 / 381.3 MB, free: 13.39 MB / 350.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.0004994/0.1153, allocations: 306 kB / 381.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1153, allocations: 12.03 kB / 381.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1155, allocations: 16.88 kB / 381.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1157, allocations: 138.3 kB / 381.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.1157, allocations: 8.375 kB / 381.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.1158, allocations: 4.375 kB / 381.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.116, allocations: 126.2 kB / 381.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.116, allocations: 0 / 381.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.116, allocations: 4 kB / 381.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.116, allocations: 4 kB / 381.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.1162, allocations: 59.88 kB / 382 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.1168, allocations: 0.5674 MB / 382.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.117, allocations: 116.9 kB / 382.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.1171, allocations: 56.41 kB / 382.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.1171, allocations: 0 / 382.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.1172, allocations: 42.48 kB / 382.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.1172, allocations: 0 / 382.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004391/0.1176, allocations: 126 kB / 382.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/0.1177, allocations: 162.2 kB / 383 MB, free: 11.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1178, allocations: 121.8 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1178, allocations: 25.7 kB / 383.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.1179, allocations: 96.09 kB / 383.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.1179, allocations: 15.84 kB / 383.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.118, allocations: 21.7 kB / 383.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1181, allocations: 322.8 kB / 383.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.1182, allocations: 23.97 kB / 383.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/0.1183, allocations: 48.41 kB / 383.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.1185, allocations: 80.2 kB / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1185, allocations: 0 / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002359/0.1187, allocations: 105.5 kB / 383.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1187, allocations: 4 kB / 383.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1187, allocations: 4 kB / 383.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1187, allocations: 3.938 kB / 383.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.1188, allocations: 11.98 kB / 383.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1188, allocations: 7.938 kB / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.1189, allocations: 8.141 kB / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1189, allocations: 11.94 kB / 383.9 MB, free: 10.46 MB / 350.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.545e-05/0.119, allocations: 118.4 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.1191, allocations: 7.953 kB / 384 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.1191, allocations: 15.61 kB / 384.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1191, allocations: 0 / 384.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1191, allocations: 4 kB / 384.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1192, allocations: 0 / 384.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.1195, allocations: 133.2 kB / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1195, allocations: 4 kB / 384.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.932e-05/0.1196, allocations: 11.98 kB / 384.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1196, allocations: 4 kB / 384.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.1196, allocations: 4.125 kB / 384.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1196, allocations: 4 kB / 384.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1196, allocations: 4 kB / 384.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.12, allocations: 492.5 kB / 384.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.12, allocations: 11.88 kB / 384.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.12, allocations: 4 kB / 384.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.1202, allocations: 8 kB / 384.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.1203, allocations: 15.92 kB / 384.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.1203, allocations: 4 kB / 384.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.086e-05/0.1204, allocations: 91.27 kB / 384.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1204, allocations: 0 / 384.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.1208, allocations: 12 kB / 384.8 MB, free: 9.473 MB / 350.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.0001034/0.1209, allocations: 99.19 kB / 384.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.1211, allocations: 60.02 kB / 385 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1211, allocations: 0 / 385 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/0.1212, allocations: 31.92 kB / 385 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.1217, allocations: 11.98 kB / 385 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.1222, allocations: 202.8 kB / 385.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.1223, allocations: 83.77 kB / 385.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.238e-05/0.1223, allocations: 0 / 385.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.1224, allocations: 12.5 kB / 385.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1224, allocations: 3.938 kB / 385.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of Templates: time 0.002984/0.1253, allocations: 0.5386 MB / 385.9 MB, free: 8.375 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.367006527958438]