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.001909/0.001909, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002192/0.002192, allocations: 157.7 kB / 24.27 MB, free: 176 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.486/1.486, allocations: 177.2 MB / 204.6 MB, free: 5.605 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.633e-06/1.633e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.04e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00336/0.00339, allocations: 1.622 MB / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.004745, allocations: 458.8 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.00485, allocations: 3.938 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.004899, allocations: 7.938 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.005007, allocations: 15.8 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.005282, allocations: 35.89 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.005449, allocations: 51.8 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.005655, allocations: 44.06 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.005871, allocations: 51.89 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.005943, allocations: 15.92 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.005974, allocations: 8 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.006033, allocations: 11.98 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.006052, allocations: 4 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.006109, allocations: 27.91 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.006322, allocations: 71.7 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.006327, allocations: 0 / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006328, allocations: 0 / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.006333, allocations: 4 kB / 274.7 MB, free: 15.4 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.0006478/0.006981, allocations: 302.1 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.00703, allocations: 15.97 kB / 275 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.007251, allocations: 28.77 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.007563, allocations: 125.7 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.007596, allocations: 8.375 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.007613, allocations: 4.375 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.007909, allocations: 110.5 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.007919, allocations: 192 / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.007937, allocations: 8.375 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.007951, allocations: 7.938 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.008176, allocations: 59.88 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.008933, allocations: 0.5713 MB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.009166, allocations: 112.9 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.009295, allocations: 52.41 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.009323, allocations: 7.984 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.009369, allocations: 42.5 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.009371, allocations: 0 / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004907/0.009861, allocations: 118 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.01, allocations: 162.2 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.01014, allocations: 125.9 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.01016, allocations: 25.7 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.01024, allocations: 92.09 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.01026, allocations: 11.91 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.01031, allocations: 29.64 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.0105, allocations: 322.8 kB / 277 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.01058, allocations: 19.98 kB / 277 MB, free: 12.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.01069, allocations: 48.28 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.01089, allocations: 84.2 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01089, allocations: 128 / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002661/0.01116, allocations: 109.5 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.01118, allocations: 10.66 kB / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01118, allocations: 0 / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.0112, allocations: 0 / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.01131, allocations: 15.98 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.01132, allocations: 0 / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.01139, allocations: 15.92 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.0114, allocations: 4 kB / 277.3 MB, free: 12.49 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.0001212/0.01152, allocations: 125.7 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/0.01162, allocations: 16.05 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.01165, allocations: 11.61 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.01165, allocations: 4 kB / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01166, allocations: 0 / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.01167, allocations: 4 kB / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.01203, allocations: 129.2 kB / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01204, allocations: 0 / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.01211, allocations: 11.98 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.01211, allocations: 4 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.01212, allocations: 0 / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.01213, allocations: 4 kB / 277.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01213, allocations: 4 kB / 277.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.01263, allocations: 492.5 kB / 278.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.01265, allocations: 11.94 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.01267, allocations: 8 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.0129, allocations: 4 kB / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.01295, allocations: 7.984 kB / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.01296, allocations: 4 kB / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.807e-05/0.01305, allocations: 107.6 kB / 278.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01305, allocations: 0 / 278.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003946/0.01345, allocations: 11.94 kB / 278.3 MB, free: 11.5 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.0001287/0.01358, allocations: 91.25 kB / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.01384, allocations: 67.83 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.01384, allocations: 0 / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.01395, allocations: 40.23 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.01451, allocations: 18.52 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.01504, allocations: 192.3 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.01515, allocations: 75.58 kB / 278.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.742e-05/0.01519, allocations: 4.25 kB / 278.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.01523, allocations: 20.5 kB / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01523, allocations: 0 / 278.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of Templates: time 0.003388/0.01862, allocations: 0.5418 MB / 279.3 MB, free: 10.39 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=480 -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/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.3240635639522225]