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.001856/0.001856, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001966/0.001966, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.538/1.538, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 1.914e-06/1.914e-06, allocations: 0 / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.821e-05/4.013e-05, allocations: 2.312 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003985/0.004025, allocations: 1.636 MB / 273.9 MB, free: 220 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.005173, allocations: 470.8 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.005281, allocations: 3.938 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.005324, allocations: 7.938 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.005446, allocations: 23.78 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.00572, allocations: 31.91 kB / 274.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.005881, allocations: 59.78 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.006076, allocations: 40.08 kB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.006282, allocations: 43.89 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.006353, allocations: 19.91 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.006379, allocations: 8 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-05/0.006439, allocations: 8 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.006456, allocations: 4 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.006501, allocations: 27.91 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.006719, allocations: 75.7 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.006723, allocations: 0 / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.006725, allocations: 4 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.006732, allocations: 0 / 274.7 MB, free: 15.39 MB / 266.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.0006641/0.007396, allocations: 408 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.007436, allocations: 15.91 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.007641, allocations: 20.84 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.007858, allocations: 128.5 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.007883, allocations: 4.375 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.0079, allocations: 8.375 kB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.008168, allocations: 128.6 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.008178, allocations: 192 / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.008191, allocations: 384 / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.008203, allocations: 7.938 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.008379, allocations: 55.89 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008866/0.009266, allocations: 0.8117 MB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.009548, allocations: 159.4 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.009688, allocations: 66.55 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.009714, allocations: 4 kB / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.00976, allocations: 41.33 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.009761, allocations: 0 / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004613/0.01022, allocations: 114 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.01034, allocations: 166.3 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.01052, allocations: 189.9 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.01054, allocations: 25.7 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.01064, allocations: 146.8 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.01067, allocations: 19.84 kB / 277.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.01073, allocations: 27.36 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002617/0.01099, allocations: 0.4922 MB / 277.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.01107, allocations: 19.98 kB / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.01118, allocations: 58.55 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.01137, allocations: 98.34 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01137, allocations: 0 / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000246/0.01161, allocations: 101.4 kB / 278 MB, free: 11.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.01163, allocations: 8.156 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.01164, allocations: 4 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.01166, allocations: 0 / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.01176, allocations: 11.98 kB / 278 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01176, allocations: 0 / 278 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.01183, allocations: 11.94 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.01183, allocations: 0 / 278.1 MB, free: 11.71 MB / 266.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.0001386/0.01197, allocations: 172.5 kB / 278.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.01206, allocations: 11.95 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.0121, allocations: 15.61 kB / 278.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.0121, allocations: 4 kB / 278.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01211, allocations: 0 / 278.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.01211, allocations: 7.984 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.0125, allocations: 144.5 kB / 278.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.01251, allocations: 3.984 kB / 278.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.01257, allocations: 8 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.01258, allocations: 4 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01259, allocations: 0 / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01259, allocations: 0 / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.01259, allocations: 7.938 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.01318, allocations: 0.7037 MB / 279.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.0132, allocations: 7.953 kB / 279.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.01322, allocations: 4 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.01343, allocations: 4 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.01349, allocations: 11.98 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.0135, allocations: 3.938 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.332e-05/0.01359, allocations: 139.2 kB / 279.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01359, allocations: 0 / 279.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.01396, allocations: 15.94 kB / 279.3 MB, free: 10.38 MB / 266.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.0001192/0.01408, allocations: 95.25 kB / 279.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.01434, allocations: 67.59 kB / 279.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01434, allocations: 0 / 279.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.01445, allocations: 51.53 kB / 279.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.01495, allocations: 8.625 kB / 279.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.01549, allocations: 217.3 kB / 279.7 MB, free: 9.887 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.0156, allocations: 75.58 kB / 279.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.01577, allocations: 8 kB / 279.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.01581, allocations: 12.5 kB / 279.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01581, allocations: 0 / 279.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of Templates: time 0.003613/0.01942, allocations: 0.5398 MB / 280.4 MB, free: 9.234 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/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.360496580018662]