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.001688/0.001688, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 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.002405/0.002405, allocations: 213.4 kB / 23 MB, free: 5.609 MB / 14.72 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 1.448/1.448, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00198/0.00198, allocations: 63.89 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2789, allocations: 53.32 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004228/0.2831, allocations: 2.728 MB / 432.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.2849, allocations: 0.9576 MB / 433.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.285, allocations: 15.94 kB / 433.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.2853, allocations: 55.39 kB / 433.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.2855, allocations: 67.45 kB / 433.6 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.2862, allocations: 247.4 kB / 433.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.2867, allocations: 382.9 kB / 434.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.287, allocations: 136.8 kB / 434.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.2872, allocations: 143.3 kB / 434.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.2873, allocations: 147.2 kB / 434.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.2874, allocations: 32 kB / 434.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.2876, allocations: 71.94 kB / 434.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2877, allocations: 75.77 kB / 434.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.2878, allocations: 159 kB / 435 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.2884, allocations: 427.4 kB / 435.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2884, allocations: 0 / 435.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2884, allocations: 0 / 435.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.2884, allocations: 0 / 435.4 MB, free: 1.906 MB / 334.1 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.001154/0.2895, allocations: 0.6466 MB / 436 MB, free: 1.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2896, allocations: 8.031 kB / 436 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.2897, allocations: 40.7 kB / 436.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.2901, allocations: 348 kB / 436.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.2901, allocations: 20.94 kB / 436.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.2902, allocations: 32.38 kB / 436.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.2917, allocations: 0.7365 MB / 437.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.2917, allocations: 0 / 437.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.2917, allocations: 12 kB / 437.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.2917, allocations: 8 kB / 437.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005579/0.2923, allocations: 223.7 kB / 437.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009174/0.2932, allocations: 0.7722 MB / 438.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.2943, allocations: 0.5997 MB / 438.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.2948, allocations: 243.3 kB / 439 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/0.2955, allocations: 0.5932 MB / 439.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.2956, allocations: 42.56 kB / 439.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 1.703e-06/0.2956, allocations: 0 / 439.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001255/0.2968, allocations: 0.5244 MB / 440.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.297, allocations: 212 kB / 440.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.2972, allocations: 250.7 kB / 440.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.2973, allocations: 41.64 kB / 440.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.2974, allocations: 152.8 kB / 440.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.2975, allocations: 47.78 kB / 440.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.2976, allocations: 82.25 kB / 441 MB, free: 11.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2977, allocations: 346.8 kB / 441.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.2979, allocations: 89.06 kB / 441.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/0.2984, allocations: 431 kB / 441.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.2991, allocations: 0.532 MB / 442.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.2991, allocations: 4 kB / 442.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008493/0.2999, allocations: 0.4937 MB / 442.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.2999, allocations: 12 kB / 442.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.3, allocations: 12 kB / 442.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/0.3, allocations: 16 kB / 442.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.3003, allocations: 119.8 kB / 443 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/0.3003, allocations: 23.92 kB / 443 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.3006, allocations: 47.77 kB / 443.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.3006, allocations: 32 kB / 443.1 MB, free: 9.332 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (61): * Single equations (assignments): 61 * 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.0002436/0.3009, allocations: 193.7 kB / 443.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/0.3015, allocations: 350.4 kB / 443.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007271/0.3023, allocations: 352.8 kB / 444 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.3023, allocations: 12.03 kB / 444 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.3023, allocations: 4 kB / 444 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3023, allocations: 7.922 kB / 444 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.3028, allocations: 345 kB / 444.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.3028, allocations: 4 kB / 444.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.3032, allocations: 99.88 kB / 444.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3032, allocations: 0 / 444.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.3032, allocations: 15.98 kB / 444.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.3032, allocations: 4 kB / 444.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3032, allocations: 7.938 kB / 444.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.3045, allocations: 0.7787 MB / 445.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3046, allocations: 112.8 kB / 445.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.3047, allocations: 19.98 kB / 445.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.3049, allocations: 23.98 kB / 445.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.305, allocations: 7.984 kB / 445.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.305, allocations: 12 kB / 445.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.3052, allocations: 186 kB / 445.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3052, allocations: 4 kB / 445.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005179/0.3057, allocations: 75.95 kB / 445.7 MB, free: 6.641 MB / 350.1 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.0002322/0.3059, allocations: 127.1 kB / 445.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007658/0.3067, allocations: 344.8 kB / 446.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3067, allocations: 4.75 kB / 446.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3068, allocations: 31.97 kB / 446.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.3079, allocations: 290.9 kB / 446.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.3096, allocations: 0.7586 MB / 447.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.3101, allocations: 0.8119 MB / 448 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.3102, allocations: 43.27 kB / 448.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.3103, allocations: 31.44 kB / 448.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3103, allocations: 0 / 448.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of Templates: time 0.012/0.3223, allocations: 4.864 MB / 453 MB, free: 15.3 MB / 366.1 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.716777419671416]