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.0009688/0.0009688, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009528/0.0009528, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9542/0.9542, allocations: 177 MB / 204.9 MB, free: 5.562 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.903e-06/1.903e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.961e-05, allocations: 9.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004454/0.004483, allocations: 2.657 MB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.006121, allocations: 0.9268 MB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.006341, allocations: 11.94 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.006559, allocations: 71.25 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.006802, allocations: 55.52 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.007399, allocations: 251.3 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.007757, allocations: 382.9 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.007981, allocations: 137.3 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.008164, allocations: 199.5 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.00831, allocations: 103.6 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.008355, allocations: 32 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.00846, allocations: 75.88 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.475e-05/0.008555, allocations: 83.69 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.138e-05/0.008646, allocations: 103.7 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.008995, allocations: 282.9 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.008999, allocations: 0 / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.009, allocations: 0 / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.009007, allocations: 4 kB / 278.2 MB, free: 12.08 MB / 266.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.0008417/0.009849, allocations: 0.6556 MB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.00989, allocations: 20.02 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.009982, allocations: 60.7 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.01032, allocations: 283.9 kB / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.01035, allocations: 17.03 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.01039, allocations: 28.38 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.01111, allocations: 0.6392 MB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.01113, allocations: 192 / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.01115, allocations: 15.94 kB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.01116, allocations: 8 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.01131, allocations: 91.8 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.01194, allocations: 0.7573 MB / 280.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.01246, allocations: 354.7 kB / 281.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.01265, allocations: 174.7 kB / 281.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.01291, allocations: 71.92 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.01294, allocations: 45.33 kB / 281.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.783e-06/0.01294, allocations: 0 / 281.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005171/0.01346, allocations: 350.2 kB / 281.8 MB, free: 8.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/0.01356, allocations: 219.7 kB / 282 MB, free: 8.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.01373, allocations: 292.3 kB / 282.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01375, allocations: 33.7 kB / 282.3 MB, free: 7.684 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.01384, allocations: 199.6 kB / 282.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.01386, allocations: 31.78 kB / 282.5 MB, free: 7.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.01391, allocations: 43.36 kB / 282.6 MB, free: 7.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.01404, allocations: 0.5079 MB / 283.1 MB, free: 6.883 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.01407, allocations: 12.3 kB / 283.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.01418, allocations: 191.3 kB / 283.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.01428, allocations: 140.5 kB / 283.4 MB, free: 6.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01428, allocations: 4 kB / 283.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001506/0.01443, allocations: 153.2 kB / 283.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01444, allocations: 8 kB / 283.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01445, allocations: 0 / 283.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01446, allocations: 7.938 kB / 283.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.01455, allocations: 39.92 kB / 283.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.01456, allocations: 4.312 kB / 283.6 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.01462, allocations: 19.94 kB / 283.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01463, allocations: 12 kB / 283.7 MB, free: 6.184 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.0001118/0.01474, allocations: 180.9 kB / 283.8 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.01502, allocations: 253.3 kB / 284.1 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.01536, allocations: 264.6 kB / 284.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.01536, allocations: 11.88 kB / 284.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.01537, allocations: 4 kB / 284.4 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.01538, allocations: 3.984 kB / 284.4 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.01559, allocations: 224.3 kB / 284.6 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.0156, allocations: 4 kB / 284.6 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.0158, allocations: 95.83 kB / 284.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.0158, allocations: 4 kB / 284.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.01582, allocations: 8 kB / 284.7 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.01582, allocations: 3.984 kB / 284.7 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.01583, allocations: 7.938 kB / 284.7 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.01633, allocations: 0.6422 MB / 285.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.01636, allocations: 39.69 kB / 285.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.0164, allocations: 20.02 kB / 285.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.0165, allocations: 16 kB / 285.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.01654, allocations: 15.86 kB / 285.4 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.01656, allocations: 16 kB / 285.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.01666, allocations: 205.1 kB / 285.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01666, allocations: 0 / 285.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.01689, allocations: 63.89 kB / 285.7 MB, free: 4.043 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.0001403/0.01703, allocations: 127.1 kB / 285.8 MB, free: 3.906 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.01724, allocations: 139 kB / 286 MB, free: 3.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01724, allocations: 0 / 286 MB, free: 3.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.489e-05/0.01727, allocations: 23.61 kB / 286 MB, free: 3.742 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.01781, allocations: 234.3 kB / 286.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009686/0.01877, allocations: 0.672 MB / 286.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.885e-05/0.01885, allocations: 121.2 kB / 287 MB, free: 2.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.605e-05/0.0189, allocations: 22.92 kB / 287 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.01895, allocations: 36.48 kB / 287.1 MB, free: 2.594 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01895, allocations: 4 kB / 287.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of Templates: time 0.006626/0.02558, allocations: 4.917 MB / 292 MB, free: 13.73 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 240] 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","",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.829979977570474]