Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 73.42 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.00252, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000946/0.000946, allocations: 141 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002344, allocations: 483.5 kB / 11.81 MB, free: 2.359 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8251/0.8251, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1541/0.9792, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.12e-07/6.12e-07, allocations: 0 / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.841e-06/6.453e-06, allocations: 2.312 kB / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002596/0.002602, allocations: 2.679 MB / 242.4 MB, free: 3.691 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003653, allocations: 0.9256 MB / 243.3 MB, free: 2.766 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.00379, allocations: 14.19 kB / 243.3 MB, free: 2.754 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.003893, allocations: 67.31 kB / 243.4 MB, free: 2.688 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.004023, allocations: 67.39 kB / 243.5 MB, free: 2.621 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.004406, allocations: 232.3 kB / 243.7 MB, free: 2.395 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.004666, allocations: 384 kB / 244.1 MB, free: 2.02 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.004826, allocations: 133.3 kB / 244.2 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.005081, allocations: 233.2 kB / 244.4 MB, free: 1.652 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.005196, allocations: 112.4 kB / 244.5 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.005231, allocations: 32 kB / 244.6 MB, free: 1.512 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.00534, allocations: 73.83 kB / 244.7 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.005413, allocations: 63.75 kB / 244.7 MB, free: 1.379 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.005476, allocations: 79.81 kB / 244.8 MB, free: 1.301 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.00572, allocations: 250.9 kB / 245 MB, free: 1.055 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.005725, allocations: 0 / 245 MB, free: 1.055 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005726, allocations: 1.188 kB / 245 MB, free: 1.055 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.005732, allocations: 0 / 245 MB, free: 1.055 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.000544/0.006276, allocations: 0.5943 MB / 245.6 MB, free: 444 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.938e-05/0.006295, allocations: 13.33 kB / 245.6 MB, free: 432 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.006346, allocations: 48.89 kB / 245.7 MB, free: 384 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.006555, allocations: 247.2 kB / 245.9 MB, free: 116 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.006573, allocations: 21.03 kB / 246 MB, free: 96 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.006602, allocations: 33.3 kB / 246 MB, free: 64 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000483/0.007085, allocations: 0.5932 MB / 246.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.007094, allocations: 0.9375 kB / 246.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.007109, allocations: 15.94 kB / 246.6 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.007115, allocations: 8.734 kB / 246.6 MB, free: 15.4 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/0.007207, allocations: 74.52 kB / 246.7 MB, free: 15.33 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.007567, allocations: 0.5332 MB / 247.2 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.007832, allocations: 262.5 kB / 247.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.007932, allocations: 124 kB / 247.6 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.008096, allocations: 68.98 kB / 247.7 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.008119, allocations: 42.5 kB / 247.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=52): time 1.362e-06/0.008121, allocations: 0.8125 kB / 247.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=52): time 0.0002543/0.008375, allocations: 250.7 kB / 247.9 MB, free: 13.96 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.008434, allocations: 163 kB / 248.1 MB, free: 13.78 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.008545, allocations: 229 kB / 248.3 MB, free: 13.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.008562, allocations: 29.7 kB / 248.4 MB, free: 13.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.008608, allocations: 133.4 kB / 248.5 MB, free: 13.37 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.00863, allocations: 43.64 kB / 248.5 MB, free: 13.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.008666, allocations: 37.69 kB / 248.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.008736, allocations: 330.8 kB / 248.9 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.008755, allocations: 22.94 kB / 248.9 MB, free: 12.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-05/0.00882, allocations: 148.7 kB / 249.1 MB, free: 12.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.393e-05/0.008894, allocations: 120.6 kB / 249.2 MB, free: 12.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.008895, allocations: 0 / 249.2 MB, free: 12.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001024/0.008997, allocations: 133.9 kB / 249.3 MB, free: 12.43 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.009005, allocations: 4 kB / 249.3 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.009009, allocations: 4 kB / 249.3 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.643e-06/0.009015, allocations: 7.938 kB / 249.3 MB, free: 12.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.009115, allocations: 48.23 kB / 249.4 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.009118, allocations: 4 kB / 249.4 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.009178, allocations: 19.88 kB / 249.4 MB, free: 12.35 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.009184, allocations: 8 kB / 249.4 MB, free: 12.34 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 7.719e-05/0.009261, allocations: 136.6 kB / 249.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.009423, allocations: 177.4 kB / 249.7 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.009602, allocations: 192.6 kB / 249.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.009607, allocations: 11.94 kB / 249.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.009609, allocations: 4 kB / 249.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.009614, allocations: 3.984 kB / 249.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.009764, allocations: 161.5 kB / 250.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.009769, allocations: 0 / 250.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.009966, allocations: 108.3 kB / 250.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.009995, allocations: 39.64 kB / 250.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.009998, allocations: 4 kB / 250.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.01001, allocations: 15.98 kB / 250.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.01002, allocations: 11.88 kB / 250.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01002, allocations: 0 / 250.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.01014, allocations: 259.3 kB / 250.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.01017, allocations: 15.98 kB / 250.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01027, allocations: 23.98 kB / 250.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.01028, allocations: 3.938 kB / 250.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.0103, allocations: 15.98 kB / 250.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.205e-05/0.01035, allocations: 86.7 kB / 250.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01035, allocations: 0 / 250.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000203/0.01056, allocations: 59.95 kB / 250.7 MB, free: 10.97 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.59e-05/0.01065, allocations: 112.3 kB / 250.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.01078, allocations: 108.2 kB / 250.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.01078, allocations: 4 kB / 250.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-05/0.0108, allocations: 24.78 kB / 250.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.01138, allocations: 0.7195 MB / 251.7 MB, free: 9.887 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.01296, allocations: 0.6514 MB / 252.3 MB, free: 9.199 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.231e-05/0.01303, allocations: 129.2 kB / 252.4 MB, free: 9.051 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.753e-05/0.01307, allocations: 22.98 kB / 252.5 MB, free: 9.027 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.01321, allocations: 123.2 kB / 252.6 MB, free: 8.906 MB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01322, allocations: 4 kB / 252.6 MB, free: 8.902 MB / 250.7 MB Notification: Performance of Templates: time 0.00568/0.0189, allocations: 4.977 MB / 257.6 MB, free: 4.031 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3129137055948377]