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.001427/0.001427, allocations: 83.89 kB / 21.18 MB, free: 3.387 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.001496/0.001496, allocations: 141.5 kB / 24.54 MB, free: 36 kB / 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.958/0.958, allocations: 173.4 MB / 201.1 MB, free: 9.34 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 2.004e-06/2.004e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.327e-05, allocations: 2.312 kB / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004714/0.004747, allocations: 2.657 MB / 270.6 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.006068, allocations: 0.8879 MB / 271.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.006279, allocations: 15.88 kB / 271.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.006473, allocations: 67.31 kB / 271.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.006707, allocations: 71.38 kB / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.007254, allocations: 239.4 kB / 271.9 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.007607, allocations: 390.7 kB / 272.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.007827, allocations: 125.4 kB / 272.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.008069, allocations: 199.5 kB / 272.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.008203, allocations: 107.6 kB / 272.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.008248, allocations: 32 kB / 272.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-05/0.008345, allocations: 67.97 kB / 272.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.788e-05/0.008443, allocations: 87.66 kB / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.008527, allocations: 103.7 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.00887, allocations: 282.8 kB / 273.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.008874, allocations: 0 / 273.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.008875, allocations: 0 / 273.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.00888, allocations: 4 kB / 273.3 MB, free: 1.137 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.0007372/0.009618, allocations: 0.6557 MB / 273.9 MB, free: 452 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.009653, allocations: 8.031 kB / 273.9 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.482e-05/0.009737, allocations: 64.66 kB / 274 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.01006, allocations: 284 kB / 274.3 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.01008, allocations: 21.03 kB / 274.3 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.01013, allocations: 32.33 kB / 274.3 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007638/0.01089, allocations: 0.639 MB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.01091, allocations: 4.188 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.01093, allocations: 15.92 kB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.01094, allocations: 12 kB / 275 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.0111, allocations: 94.83 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.01175, allocations: 0.761 MB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.01225, allocations: 341.6 kB / 276.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.01243, allocations: 170.5 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.01268, allocations: 71.92 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.01271, allocations: 49.11 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.713e-06/0.01271, allocations: 0 / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0004958/0.01321, allocations: 349.1 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/0.0133, allocations: 211.9 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.01348, allocations: 288.3 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.0135, allocations: 37.7 kB / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.01358, allocations: 203.7 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.01361, allocations: 35.84 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.01365, allocations: 43.36 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.01376, allocations: 0.504 MB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.0138, allocations: 16.92 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.262e-05/0.01389, allocations: 187.3 kB / 278.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.01399, allocations: 144.4 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.014, allocations: 0 / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001598/0.01416, allocations: 153.9 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.01417, allocations: 8.062 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01418, allocations: 4 kB / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.0142, allocations: 7.984 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.01429, allocations: 39.91 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01429, allocations: 4 kB / 278.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.01436, allocations: 19.88 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.01437, allocations: 12 kB / 278.7 MB, free: 11.23 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 0.0001094/0.01448, allocations: 172.5 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.01476, allocations: 262.5 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.01507, allocations: 257.1 kB / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.01508, allocations: 11.94 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01509, allocations: 4 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.01509, allocations: 3.984 kB / 279.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.01536, allocations: 224.3 kB / 279.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.01537, allocations: 3.938 kB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.01556, allocations: 95.88 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.01557, allocations: 4 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.01559, allocations: 12 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.01559, allocations: 4 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.01559, allocations: 7.875 kB / 279.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.01612, allocations: 0.6422 MB / 280.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.01616, allocations: 43.64 kB / 280.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.01619, allocations: 16 kB / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.01631, allocations: 19.98 kB / 280.5 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.01635, allocations: 11.92 kB / 280.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.01637, allocations: 12 kB / 280.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.01648, allocations: 213.1 kB / 280.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01648, allocations: 0 / 280.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.01674, allocations: 59.95 kB / 280.7 MB, free: 9.094 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.0001651/0.01691, allocations: 131 kB / 280.9 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.01714, allocations: 139.1 kB / 281 MB, free: 8.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01714, allocations: 0 / 281 MB, free: 8.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.01717, allocations: 28.38 kB / 281 MB, free: 8.789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.01776, allocations: 240.6 kB / 281.3 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.01883, allocations: 0.6516 MB / 281.9 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.524e-05/0.01891, allocations: 133.2 kB / 282 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.01897, allocations: 18.98 kB / 282.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.01902, allocations: 24.5 kB / 282.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01902, allocations: 0 / 282.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of Templates: time 0.006916/0.02594, allocations: 4.638 MB / 286.7 MB, free: 3.082 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.980659511871636]