Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008496/0.0008496, allocations: 84.34 kB / 21.43 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003388/0.003388, allocations: 154.2 kB / 24.7 MB, free: 9.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8606/0.8606, allocations: 177 MB / 204.9 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 325.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.853e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002849/0.002878, allocations: 2.555 MB / 328.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.004055, allocations: 0.9151 MB / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.004218, allocations: 11.94 kB / 329.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.004398, allocations: 59.33 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.004621, allocations: 71.39 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.005129, allocations: 239.3 kB / 329.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.005437, allocations: 390.8 kB / 330 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.005658, allocations: 137.3 kB / 330.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.005838, allocations: 191.5 kB / 330.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.005965, allocations: 119.6 kB / 330.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.006, allocations: 28 kB / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.006103, allocations: 71.89 kB / 330.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.006191, allocations: 83.69 kB / 330.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/0.006272, allocations: 103.7 kB / 330.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.006656, allocations: 430.5 kB / 331.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.00666, allocations: 0 / 331.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006661, allocations: 0 / 331.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.006668, allocations: 0 / 331.1 MB, free: 10.05 MB / 298.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.0007331/0.007401, allocations: 0.5791 MB / 331.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.007435, allocations: 8.031 kB / 331.7 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.007501, allocations: 40.7 kB / 331.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.007879, allocations: 269.2 kB / 332 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.007902, allocations: 29.03 kB / 332 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.007938, allocations: 28.38 kB / 332.1 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.008804, allocations: 0.7966 MB / 332.9 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.008818, allocations: 4.172 kB / 332.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.008842, allocations: 19.94 kB / 332.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.00885, allocations: 7.984 kB / 332.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.009156, allocations: 211.8 kB / 333.1 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.009712, allocations: 0.6144 MB / 333.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.01035, allocations: 460.2 kB / 334.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.01061, allocations: 243.1 kB / 334.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.01086, allocations: 63.94 kB / 334.5 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.01088, allocations: 38.56 kB / 334.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 2.294e-06/0.01088, allocations: 4 kB / 334.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007099/0.01159, allocations: 0.5243 MB / 335 MB, free: 5.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.01169, allocations: 209 kB / 335.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.01186, allocations: 253.8 kB / 335.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.01188, allocations: 37.7 kB / 335.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.01196, allocations: 148.9 kB / 335.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.01199, allocations: 27.8 kB / 335.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.01203, allocations: 41.7 kB / 335.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.01213, allocations: 334.8 kB / 336.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.0122, allocations: 48.09 kB / 336.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.01232, allocations: 190.5 kB / 336.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.01247, allocations: 165.2 kB / 336.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01247, allocations: 0 / 336.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002116/0.01268, allocations: 209.9 kB / 336.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.0127, allocations: 7.125 kB / 336.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.0127, allocations: 4.109 kB / 336.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.01272, allocations: 15.86 kB / 336.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.0128, allocations: 35.97 kB / 336.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.01281, allocations: 4 kB / 336.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.01288, allocations: 31.86 kB / 336.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.01289, allocations: 4 kB / 336.8 MB, free: 4.027 MB / 298.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.0001213/0.01301, allocations: 162.6 kB / 336.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.01337, allocations: 345 kB / 337.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.01379, allocations: 356.7 kB / 337.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.0138, allocations: 11.94 kB / 337.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.0138, allocations: 0 / 337.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01381, allocations: 7.984 kB / 337.6 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.01401, allocations: 213 kB / 337.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.01402, allocations: 0 / 337.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.01422, allocations: 99.88 kB / 337.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01422, allocations: 4 kB / 337.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.01424, allocations: 8 kB / 337.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.01424, allocations: 7.938 kB / 337.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01425, allocations: 3.938 kB / 337.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007311/0.01498, allocations: 0.7728 MB / 338.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.01501, allocations: 43.66 kB / 338.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.01505, allocations: 15.94 kB / 338.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.01517, allocations: 27.97 kB / 338.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.0152, allocations: 11.94 kB / 338.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.01522, allocations: 24.05 kB / 338.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.01533, allocations: 181.2 kB / 339 MB, free: 1.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01533, allocations: 3.938 kB / 339 MB, free: 1.684 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.01559, allocations: 63.89 kB / 339.1 MB, free: 1.621 MB / 298.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.000151/0.01574, allocations: 127.2 kB / 339.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.01606, allocations: 223.4 kB / 339.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01606, allocations: 0 / 339.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.837e-05/0.01611, allocations: 32.05 kB / 339.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.01674, allocations: 306.8 kB / 339.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/0.01763, allocations: 0.7236 MB / 340.5 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.01776, allocations: 201.8 kB / 340.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.01781, allocations: 28.48 kB / 340.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01781, allocations: 0 / 340.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of Templates: time 0.004504/0.02232, allocations: 4.201 MB / 344.9 MB, free: 11.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.438297301530838]