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.0009758/0.0009758, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001632/0.002608, allocations: 449.7 kB / 10.37 MB, free: 332 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.0008462/0.0008462, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.002034, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9235/0.9235, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08951/1.013, allocations: 52.49 MB / 238.3 MB, free: 4.422 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 1.643e-06/1.643e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.154e-05, allocations: 5.125 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00287/0.002892, allocations: 2.672 MB / 242.2 MB, free: 500 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.004232, allocations: 0.9227 MB / 243.1 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.004462, allocations: 11.88 kB / 243.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.004617, allocations: 67.31 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.004805, allocations: 67.39 kB / 243.3 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.005313, allocations: 235.4 kB / 243.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.005809, allocations: 378.8 kB / 243.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.006016, allocations: 133.3 kB / 244 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.006271, allocations: 241.1 kB / 244.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.006415, allocations: 111.6 kB / 244.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.006453, allocations: 28 kB / 244.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.006579, allocations: 75.97 kB / 244.5 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.006659, allocations: 59.75 kB / 244.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.006733, allocations: 87.73 kB / 244.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.007052, allocations: 247 kB / 244.8 MB, free: 13.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.007063, allocations: 0 / 244.8 MB, free: 13.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007064, allocations: 0 / 244.8 MB, free: 13.84 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.007078, allocations: 0 / 244.8 MB, free: 13.84 MB / 250.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.0007325/0.00781, allocations: 0.597 MB / 245.4 MB, free: 13.22 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.007843, allocations: 12.03 kB / 245.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.007911, allocations: 52.89 kB / 245.5 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.008191, allocations: 237.3 kB / 245.7 MB, free: 12.9 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.008217, allocations: 21.03 kB / 245.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.008255, allocations: 28.38 kB / 245.8 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.008806, allocations: 0.5923 MB / 246.4 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.008818, allocations: 192 / 246.4 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.008836, allocations: 15.94 kB / 246.4 MB, free: 12.19 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.008843, allocations: 8 kB / 246.4 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.008947, allocations: 74.45 kB / 246.5 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.009446, allocations: 0.5326 MB / 247 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.00978, allocations: 283.1 kB / 247.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.009888, allocations: 139.2 kB / 247.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.01009, allocations: 59.94 kB / 247.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.01011, allocations: 42.56 kB / 247.5 MB, free: 10.96 MB / 250.7 MB Notification: Performance of pre-optimization done (n=52): time 2.234e-06/0.01012, allocations: 0 / 247.5 MB, free: 10.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=52): time 0.0003283/0.01045, allocations: 245.1 kB / 247.7 MB, free: 10.72 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.01052, allocations: 169.5 kB / 247.9 MB, free: 10.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.01065, allocations: 225 kB / 248.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.01067, allocations: 37.7 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.01073, allocations: 129.4 kB / 248.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.01075, allocations: 35.7 kB / 248.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.01079, allocations: 33.7 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.01087, allocations: 338.8 kB / 248.7 MB, free: 9.707 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.01089, allocations: 14.81 kB / 248.7 MB, free: 9.691 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.01097, allocations: 153.1 kB / 248.9 MB, free: 9.492 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.309e-05/0.01105, allocations: 124.7 kB / 249 MB, free: 9.332 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01105, allocations: 0 / 249 MB, free: 9.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001286/0.01118, allocations: 125.9 kB / 249.1 MB, free: 9.199 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.01119, allocations: 8 kB / 249.1 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.0112, allocations: 4 kB / 249.1 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.01121, allocations: 7.938 kB / 249.1 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.01134, allocations: 39.97 kB / 249.2 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01134, allocations: 7.938 kB / 249.2 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.01141, allocations: 28.14 kB / 249.2 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.01142, allocations: 7.984 kB / 249.2 MB, free: 9.098 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 9.186e-05/0.01151, allocations: 132.7 kB / 249.3 MB, free: 8.957 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.01169, allocations: 173.4 kB / 249.5 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.01189, allocations: 201 kB / 249.7 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.0119, allocations: 11.94 kB / 249.7 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.0119, allocations: 0 / 249.7 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.01191, allocations: 7.984 kB / 249.7 MB, free: 8.559 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.01208, allocations: 157.6 kB / 249.9 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.01208, allocations: 4 kB / 249.9 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.01231, allocations: 111.9 kB / 250 MB, free: 8.273 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.01234, allocations: 39.64 kB / 250 MB, free: 8.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.01235, allocations: 4 kB / 250 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.01236, allocations: 12 kB / 250 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01237, allocations: 3.938 kB / 250 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.01237, allocations: 7.984 kB / 250.1 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.01251, allocations: 255.3 kB / 250.3 MB, free: 7.934 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.01255, allocations: 15.98 kB / 250.3 MB, free: 7.918 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.01265, allocations: 16.03 kB / 250.3 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.01268, allocations: 15.92 kB / 250.4 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.0127, allocations: 8 kB / 250.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.859e-05/0.01276, allocations: 78.77 kB / 250.4 MB, free: 7.797 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01276, allocations: 4 kB / 250.4 MB, free: 7.793 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.01298, allocations: 59.95 kB / 250.5 MB, free: 7.734 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 0.0002807/0.01326, allocations: 112.3 kB / 250.6 MB, free: 7.613 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.01341, allocations: 116.2 kB / 250.7 MB, free: 7.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.01342, allocations: 0 / 250.7 MB, free: 7.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.879e-05/0.01344, allocations: 20.86 kB / 250.7 MB, free: 7.477 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.01391, allocations: 246.3 kB / 251 MB, free: 7.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.0156, allocations: 0.6685 MB / 251.6 MB, free: 6.527 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.261e-05/0.01567, allocations: 129.2 kB / 251.8 MB, free: 6.383 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.223e-05/0.01573, allocations: 27.3 kB / 251.8 MB, free: 6.355 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.01588, allocations: 123.3 kB / 251.9 MB, free: 6.234 MB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01588, allocations: 0 / 251.9 MB, free: 6.234 MB / 250.7 MB Notification: Performance of Templates: time 0.006924/0.02281, allocations: 5.128 MB / 257.1 MB, free: 1.207 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5783351995050907]