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.0009543/0.0009543, allocations: 77.14 kB / 21.5 MB, free: 2.832 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.0009678/0.0009678, allocations: 141 kB / 24.89 MB, free: 9.277 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.8406/0.8406, allocations: 173.4 MB / 201.5 MB, free: 8.258 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.472e-06/1.472e-06, allocations: 0 / 268.4 MB, free: 9.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.688e-05, allocations: 2.312 kB / 268.4 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002712/0.002729, allocations: 2.621 MB / 271.1 MB, free: 7.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003903, allocations: 0.9133 MB / 272 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.004065, allocations: 16.59 kB / 272 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.004236, allocations: 63.33 kB / 272.1 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.004432, allocations: 70.5 kB / 272.1 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.00489, allocations: 239.3 kB / 272.4 MB, free: 5.898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.005187, allocations: 390.7 kB / 272.7 MB, free: 5.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.005384, allocations: 134.9 kB / 272.9 MB, free: 5.379 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.005558, allocations: 195.5 kB / 273.1 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.005685, allocations: 111.6 kB / 273.2 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.005723, allocations: 32 kB / 273.2 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.005817, allocations: 68.88 kB / 273.3 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.005898, allocations: 79.67 kB / 273.4 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.005973, allocations: 104.6 kB / 273.5 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.006246, allocations: 278.9 kB / 273.7 MB, free: 4.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.006248, allocations: 4.562 kB / 273.7 MB, free: 4.523 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006248, allocations: 0 / 273.7 MB, free: 4.523 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.006252, allocations: 2.281 kB / 273.7 MB, free: 4.523 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.0007109/0.006963, allocations: 0.5349 MB / 274.3 MB, free: 3.965 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.006991, allocations: 8.031 kB / 274.3 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.007047, allocations: 45.91 kB / 274.3 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.007292, allocations: 248.6 kB / 274.6 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.007314, allocations: 21.03 kB / 274.6 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.007349, allocations: 32.38 kB / 274.6 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.00788, allocations: 0.5979 MB / 275.2 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.007892, allocations: 4.125 kB / 275.2 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.007912, allocations: 19.94 kB / 275.2 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.00792, allocations: 7.984 kB / 275.2 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.306e-05/0.008013, allocations: 70.69 kB / 275.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.008434, allocations: 0.5364 MB / 275.8 MB, free: 2.277 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.008745, allocations: 267.6 kB / 276.1 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.008851, allocations: 124 kB / 276.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.009032, allocations: 67.92 kB / 276.3 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.009055, allocations: 46.28 kB / 276.3 MB, free: 1.719 MB / 250.7 MB Notification: Performance of pre-optimization done (n=52): time 1.924e-06/0.009057, allocations: 0 / 276.3 MB, free: 1.719 MB / 250.7 MB Notification: Performance of matching and sorting (n=52): time 0.0002982/0.009355, allocations: 249.1 kB / 276.6 MB, free: 1.469 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.009437, allocations: 209 kB / 276.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.00956, allocations: 229 kB / 277 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.009579, allocations: 33.7 kB / 277 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.00963, allocations: 133.4 kB / 277.2 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.009651, allocations: 35.72 kB / 277.2 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.009689, allocations: 41.81 kB / 277.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.009768, allocations: 338.8 kB / 277.6 MB, free: 404 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.009788, allocations: 10.83 kB / 277.6 MB, free: 392 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.009859, allocations: 153 kB / 277.7 MB, free: 188 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.078e-05/0.00994, allocations: 124.6 kB / 277.9 MB, free: 24 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009942, allocations: 0 / 277.9 MB, free: 24 kB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001258/0.01007, allocations: 126.3 kB / 278 MB, free: 15.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01008, allocations: 8 kB / 278 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01009, allocations: 4.312 kB / 278 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.0101, allocations: 11.98 kB / 278 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.01018, allocations: 43.91 kB / 278.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.01018, allocations: 4 kB / 278.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.01024, allocations: 19.88 kB / 278.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.01025, allocations: 4 kB / 278.1 MB, free: 15.79 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.003e-05/0.01034, allocations: 136.6 kB / 278.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.01051, allocations: 177.4 kB / 278.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.01072, allocations: 196.6 kB / 278.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.01072, allocations: 7.938 kB / 278.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01072, allocations: 4 kB / 278.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01073, allocations: 3.984 kB / 278.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.01089, allocations: 157.6 kB / 278.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.0109, allocations: 0 / 278.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.01108, allocations: 91.89 kB / 278.8 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01109, allocations: 7.938 kB / 278.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.0111, allocations: 11.98 kB / 278.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01111, allocations: 4 kB / 278.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01111, allocations: 4 kB / 278.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.01124, allocations: 255.3 kB / 279.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.01127, allocations: 51.44 kB / 279.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.01131, allocations: 12 kB / 279.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.01141, allocations: 19.98 kB / 279.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.01143, allocations: 11.88 kB / 279.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.01145, allocations: 15.98 kB / 279.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.458e-05/0.01151, allocations: 74.78 kB / 279.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01151, allocations: 0 / 279.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.01172, allocations: 59.95 kB / 279.4 MB, free: 14.45 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.0001209/0.01184, allocations: 116.2 kB / 279.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.01199, allocations: 108.2 kB / 279.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.01199, allocations: 4 kB / 279.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.01201, allocations: 28.84 kB / 279.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.01245, allocations: 220.3 kB / 279.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.01331, allocations: 0.671 MB / 280.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.01338, allocations: 133.2 kB / 280.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.864e-05/0.01343, allocations: 27.2 kB / 280.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.01358, allocations: 123.3 kB / 280.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01358, allocations: 0 / 280.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Templates: time 0.00658/0.02016, allocations: 4.89 MB / 285.7 MB, free: 8.172 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 -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.6604654570110142]