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.001435/0.001435, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001645/0.001645, allocations: 206.3 kB / 23.72 MB, free: 4.391 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.525/1.525, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.001992/0.001992, allocations: 71.84 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2918, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004176/0.296, allocations: 2.557 MB / 434.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.2977, allocations: 0.8999 MB / 435.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.2979, allocations: 15.88 kB / 435.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.2981, allocations: 63.33 kB / 435.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.2984, allocations: 67.45 kB / 435.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.2991, allocations: 242.7 kB / 435.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.2996, allocations: 378.9 kB / 435.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.2998, allocations: 133.3 kB / 436 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3, allocations: 135.4 kB / 436.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.3002, allocations: 135.2 kB / 436.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.3003, allocations: 35.94 kB / 436.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.3004, allocations: 67.91 kB / 436.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3006, allocations: 83.75 kB / 436.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3007, allocations: 127.3 kB / 436.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.3013, allocations: 428.4 kB / 436.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3013, allocations: 4 kB / 436.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3013, allocations: 0 / 436.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3013, allocations: 0 / 436.9 MB, free: 1.172 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.001087/0.3024, allocations: 0.5714 MB / 437.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3024, allocations: 8.031 kB / 437.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.3025, allocations: 40.7 kB / 437.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.3029, allocations: 277.9 kB / 437.8 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.303, allocations: 25.03 kB / 437.9 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.633e-05/0.303, allocations: 32.38 kB / 437.9 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.3045, allocations: 0.7949 MB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.3045, allocations: 3.984 kB / 438.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.3045, allocations: 12 kB / 438.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3045, allocations: 4 kB / 438.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005896/0.3051, allocations: 219.8 kB / 438.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.3059, allocations: 0.6064 MB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.307, allocations: 449.9 kB / 440 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.3075, allocations: 251 kB / 440.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004216/0.3079, allocations: 63.83 kB / 440.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.3079, allocations: 46.44 kB / 440.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.414e-06/0.3079, allocations: 4 kB / 440.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001268/0.3092, allocations: 0.5205 MB / 440.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.3094, allocations: 209 kB / 441.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.3097, allocations: 253.8 kB / 441.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.3097, allocations: 41.83 kB / 441.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3098, allocations: 148.9 kB / 441.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.3099, allocations: 55.7 kB / 441.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.31, allocations: 78.19 kB / 441.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3102, allocations: 350.8 kB / 442 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.3104, allocations: 84.94 kB / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.3109, allocations: 489.5 kB / 442.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.3115, allocations: 0.5281 MB / 443 MB, free: 10.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3115, allocations: 4 kB / 443.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008322/0.3124, allocations: 0.4936 MB / 443.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3124, allocations: 12 kB / 443.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.3124, allocations: 8 kB / 443.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/0.3124, allocations: 16 kB / 443.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.3128, allocations: 123.8 kB / 443.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/0.3128, allocations: 20.5 kB / 443.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.3131, allocations: 63.62 kB / 443.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.3131, allocations: 32 kB / 443.8 MB, free: 9.668 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.000225/0.3133, allocations: 192.6 kB / 444 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006741/0.314, allocations: 352.9 kB / 444.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/0.3147, allocations: 352.8 kB / 444.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.3147, allocations: 4 kB / 444.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3147, allocations: 4 kB / 444.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3147, allocations: 3.984 kB / 444.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.3151, allocations: 213 kB / 444.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3151, allocations: 0 / 444.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.3155, allocations: 99.88 kB / 445 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.3155, allocations: 7.938 kB / 445 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.3155, allocations: 19.94 kB / 445 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3155, allocations: 0 / 445 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.3155, allocations: 8 kB / 445 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.3169, allocations: 0.7631 MB / 445.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.317, allocations: 43.72 kB / 445.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/0.317, allocations: 23.94 kB / 445.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.3173, allocations: 27.97 kB / 445.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.3173, allocations: 7.938 kB / 445.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.3174, allocations: 15.98 kB / 445.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.3176, allocations: 185.2 kB / 446.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3176, allocations: 0 / 446.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005551/0.3181, allocations: 75.89 kB / 446.2 MB, free: 7.223 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.0002377/0.3184, allocations: 123.2 kB / 446.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008286/0.3192, allocations: 356.9 kB / 446.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3192, allocations: 0 / 446.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3193, allocations: 28.06 kB / 446.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.3205, allocations: 299.7 kB / 447 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.322, allocations: 0.7585 MB / 447.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.3222, allocations: 210.3 kB / 447.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.3223, allocations: 39.27 kB / 448 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.3224, allocations: 31.44 kB / 448 MB, free: 5.328 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3224, allocations: 0 / 448 MB, free: 5.328 MB / 350.1 MB Notification: Performance of Templates: time 0.01073/0.3331, allocations: 5.347 MB / 453.3 MB, free: 56 kB / 350.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.763391900807619]