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.0008654/0.0008654, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009159/0.0009159, allocations: 142.2 kB / 24.89 MB, free: 9.211 MB / 18.57 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.9569/0.9569, allocations: 173.3 MB / 201.5 MB, free: 9.176 MB / 186.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.363e-06/1.363e-06, allocations: 0 / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.486e-05, allocations: 2.312 kB / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.006357/0.006372, allocations: 2.668 MB / 271.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004528/0.0109, allocations: 0.9226 MB / 272.1 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.0111, allocations: 11.88 kB / 272.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.01129, allocations: 67.33 kB / 272.2 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.01152, allocations: 63.39 kB / 272.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.01204, allocations: 247.3 kB / 272.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.01239, allocations: 382.8 kB / 272.8 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.0126, allocations: 129.3 kB / 273 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.01289, allocations: 199.5 kB / 273.1 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.01304, allocations: 111.6 kB / 273.3 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.01308, allocations: 28 kB / 273.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.01321, allocations: 75.95 kB / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.01329, allocations: 83.67 kB / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00309/0.01638, allocations: 99.69 kB / 273.5 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.0167, allocations: 282.9 kB / 273.8 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.0167, allocations: 4 kB / 273.8 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0167, allocations: 0 / 273.8 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.01671, allocations: 0 / 273.8 MB, free: 0.7812 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.0006267/0.01734, allocations: 0.5386 MB / 274.4 MB, free: 224 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.01737, allocations: 8.031 kB / 274.4 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.01743, allocations: 48.91 kB / 274.4 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.01773, allocations: 245.2 kB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.01776, allocations: 21.03 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.01779, allocations: 32.36 kB / 274.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.01842, allocations: 0.5885 MB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.01844, allocations: 4.172 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.01846, allocations: 15.94 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.01847, allocations: 8 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.01859, allocations: 81.38 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.01908, allocations: 0.5326 MB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/0.02246, allocations: 271.5 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.0226, allocations: 131.2 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.02281, allocations: 63.88 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.02283, allocations: 42.56 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.104e-06/0.02284, allocations: 0 / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0003783/0.02321, allocations: 253.1 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/0.02331, allocations: 209 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.02346, allocations: 229 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.02348, allocations: 33.7 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.02353, allocations: 133.4 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.02356, allocations: 39.77 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.02361, allocations: 29.7 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.966e-05/0.02369, allocations: 334.8 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.02371, allocations: 18.75 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.0238, allocations: 150.6 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.828e-05/0.0239, allocations: 120.8 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.0239, allocations: 4 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001485/0.02405, allocations: 129.9 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.02406, allocations: 4 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.02406, allocations: 4 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.02408, allocations: 11.94 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.02421, allocations: 43.92 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.02422, allocations: 7.938 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.214e-05/0.0243, allocations: 20.19 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.02431, allocations: 12 kB / 278.2 MB, free: 12.03 MB / 266.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.835e-05/0.02441, allocations: 137 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.02463, allocations: 177.8 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.02487, allocations: 196.9 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.02487, allocations: 7.938 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.02488, allocations: 4 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.02488, allocations: 3.984 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.0251, allocations: 157.6 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.0251, allocations: 4 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003273/0.02837, allocations: 103.8 kB / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.02838, allocations: 4 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.0284, allocations: 12 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.0284, allocations: 4 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.02841, allocations: 3.938 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.02855, allocations: 251.3 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.02859, allocations: 39.64 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.02863, allocations: 15.98 kB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.02878, allocations: 24.03 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.0288, allocations: 7.922 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.02882, allocations: 12 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.315e-05/0.0289, allocations: 90.69 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0289, allocations: 0 / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.02921, allocations: 63.89 kB / 279.5 MB, free: 10.67 MB / 266.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.000125/0.02933, allocations: 104.3 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.02951, allocations: 112.8 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.02951, allocations: 0 / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.313e-05/0.02953, allocations: 16.8 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.03011, allocations: 234.9 kB / 279.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.03321, allocations: 0.6676 MB / 280.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.146e-05/0.0333, allocations: 121.2 kB / 280.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.979e-05/0.03337, allocations: 26.97 kB / 280.7 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.03356, allocations: 119.3 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.03356, allocations: 0 / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of Templates: time 0.00844/0.042, allocations: 4.95 MB / 285.8 MB, free: 4.352 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.6129510710015893]