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.001895/0.001895, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.001953/0.001953, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.433/1.433, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00174/0.00174, allocations: 47.94 kB / 371.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2673, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004798/0.2721, allocations: 2.547 MB / 426.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.2742, allocations: 0.8765 MB / 427.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.2745, allocations: 11.88 kB / 427.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.2748, allocations: 59.39 kB / 427.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.2752, allocations: 63.44 kB / 427.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008054/0.276, allocations: 245.6 kB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.2765, allocations: 371 kB / 428 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.2769, allocations: 129.4 kB / 428.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.2771, allocations: 147.4 kB / 428.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.2773, allocations: 139.2 kB / 428.4 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.444e-05/0.2774, allocations: 32 kB / 428.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.2775, allocations: 67.97 kB / 428.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.2777, allocations: 79.75 kB / 428.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.2779, allocations: 135.2 kB / 428.7 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006859/0.2786, allocations: 415.9 kB / 429.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2786, allocations: 0 / 429.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.2786, allocations: 4 kB / 429.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.2786, allocations: 4 kB / 429.1 MB, free: 9.188 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.001335/0.2799, allocations: 0.5752 MB / 429.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.28, allocations: 8.031 kB / 429.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.2801, allocations: 44.66 kB / 429.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.2807, allocations: 266 kB / 430 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.2807, allocations: 21.03 kB / 430 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.2808, allocations: 28.31 kB / 430 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.2823, allocations: 0.7951 MB / 430.8 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.2823, allocations: 3.938 kB / 430.8 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.2824, allocations: 12 kB / 430.8 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.2824, allocations: 11.98 kB / 430.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.283, allocations: 217.7 kB / 431.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.2839, allocations: 0.6064 MB / 431.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.285, allocations: 461 kB / 432.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.2855, allocations: 243.8 kB / 432.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004218/0.2859, allocations: 63.94 kB / 432.4 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.286, allocations: 46.44 kB / 432.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 5.049e-06/0.286, allocations: 3.984 kB / 432.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001339/0.2873, allocations: 0.5206 MB / 433 MB, free: 5.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.2875, allocations: 215.6 kB / 433.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.2878, allocations: 257.8 kB / 433.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.2879, allocations: 33.7 kB / 433.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.288, allocations: 148.9 kB / 433.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.288, allocations: 51.84 kB / 433.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.2882, allocations: 86.19 kB / 433.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.2883, allocations: 346.8 kB / 434.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.2885, allocations: 84.94 kB / 434.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/0.2891, allocations: 481.5 kB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/0.2899, allocations: 0.532 MB / 435.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.2899, allocations: 8 kB / 435.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009428/0.2908, allocations: 0.4897 MB / 435.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.2908, allocations: 12 kB / 435.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.2909, allocations: 12 kB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.2909, allocations: 16 kB / 435.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.2912, allocations: 119.9 kB / 435.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.627e-05/0.2913, allocations: 23.81 kB / 435.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.2916, allocations: 55.72 kB / 435.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.2916, allocations: 28.31 kB / 435.9 MB, free: 1.695 MB / 334.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.0002674/0.2919, allocations: 193.6 kB / 436.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/0.2926, allocations: 354.2 kB / 436.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007552/0.2934, allocations: 352.5 kB / 436.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.2934, allocations: 12 kB / 436.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2934, allocations: 0 / 436.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.2934, allocations: 3.984 kB / 436.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.2937, allocations: 213.5 kB / 437 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.2938, allocations: 0 / 437 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.2941, allocations: 99.88 kB / 437.1 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.2942, allocations: 11.88 kB / 437.2 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.2942, allocations: 8 kB / 437.2 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.2942, allocations: 7.984 kB / 437.2 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2942, allocations: 0 / 437.2 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.2956, allocations: 0.7789 MB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.2957, allocations: 43.66 kB / 438 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.2958, allocations: 15.94 kB / 438 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.296, allocations: 36.03 kB / 438 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.2961, allocations: 3.938 kB / 438 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.2961, allocations: 19.98 kB / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.2963, allocations: 177.2 kB / 438.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2963, allocations: 0 / 438.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005771/0.2969, allocations: 75.94 kB / 438.3 MB, free: 15.24 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.0002216/0.2971, allocations: 127.1 kB / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008206/0.298, allocations: 353.5 kB / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.298, allocations: 0 / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2981, allocations: 31.97 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.2992, allocations: 298.8 kB / 439.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.3009, allocations: 0.8045 MB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3011, allocations: 206.5 kB / 440.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.3012, allocations: 27.44 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3012, allocations: 0 / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Templates: time 0.00924/0.3104, allocations: 4.625 MB / 444.8 MB, free: 8.738 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.05020002182573]