Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 212.4 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 43.94 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.271, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004376/0.2753, allocations: 2.561 MB / 434.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.2771, allocations: 0.9037 MB / 435 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.2773, allocations: 15.88 kB / 435 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.2775, allocations: 59.33 kB / 435.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.2778, allocations: 63.52 kB / 435.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008094/0.2786, allocations: 250.5 kB / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.2791, allocations: 378.9 kB / 435.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.2794, allocations: 137.4 kB / 435.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.2796, allocations: 143.4 kB / 436 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.2798, allocations: 151.2 kB / 436.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.2799, allocations: 28 kB / 436.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.28, allocations: 67.95 kB / 436.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.2801, allocations: 91.62 kB / 436.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.2803, allocations: 127.3 kB / 436.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005791/0.2809, allocations: 420.4 kB / 436.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2809, allocations: 0 / 436.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2809, allocations: 4 kB / 436.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.423e-06/0.2809, allocations: 0 / 436.9 MB, free: 1.328 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.001125/0.282, allocations: 0.5779 MB / 437.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2821, allocations: 8.031 kB / 437.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.33e-05/0.2821, allocations: 44.7 kB / 437.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.2827, allocations: 273.9 kB / 437.8 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.2827, allocations: 25.02 kB / 437.8 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.2828, allocations: 32.31 kB / 437.9 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.2842, allocations: 0.7911 MB / 438.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.2843, allocations: 0 / 438.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.2843, allocations: 12 kB / 438.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2843, allocations: 4 kB / 438.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.2848, allocations: 219.8 kB / 438.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008582/0.2857, allocations: 0.6103 MB / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.2868, allocations: 458 kB / 439.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.2872, allocations: 247.9 kB / 440.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004012/0.2876, allocations: 63.72 kB / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.2877, allocations: 58.41 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 1.944e-06/0.2877, allocations: 0 / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.00121/0.2889, allocations: 0.5128 MB / 440.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.289, allocations: 211.9 kB / 441 MB, free: 12.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.2893, allocations: 253.8 kB / 441.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.2894, allocations: 37.7 kB / 441.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2895, allocations: 149 kB / 441.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.2895, allocations: 59.75 kB / 441.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.2896, allocations: 78.2 kB / 441.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2898, allocations: 350.8 kB / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.29, allocations: 80.94 kB / 442 MB, free: 11.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.2905, allocations: 493.5 kB / 442.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.2912, allocations: 0.5281 MB / 443 MB, free: 10.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.2912, allocations: 8 kB / 443 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008141/0.292, allocations: 0.4895 MB / 443.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.292, allocations: 12 kB / 443.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.292, allocations: 12 kB / 443.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.292, allocations: 12 kB / 443.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.2924, allocations: 119.8 kB / 443.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-05/0.2924, allocations: 27.86 kB / 443.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.2926, allocations: 44.22 kB / 443.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.2927, allocations: 36 kB / 443.8 MB, free: 9.824 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.0002203/0.2929, allocations: 187.2 kB / 444 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006911/0.2936, allocations: 354 kB / 444.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000709/0.2943, allocations: 364.7 kB / 444.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.2943, allocations: 4 kB / 444.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2943, allocations: 4 kB / 444.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2943, allocations: 480 / 444.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.2946, allocations: 217 kB / 444.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2946, allocations: 0 / 444.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.295, allocations: 99.88 kB / 445 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.295, allocations: 7.938 kB / 445 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.2951, allocations: 11.98 kB / 445 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2951, allocations: 4 kB / 445 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.2951, allocations: 8 kB / 445 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.2964, allocations: 0.7748 MB / 445.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.2964, allocations: 43.64 kB / 445.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.2965, allocations: 16 kB / 445.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.2967, allocations: 35.91 kB / 445.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.2968, allocations: 7.984 kB / 445.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.2968, allocations: 12 kB / 445.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.297, allocations: 185.2 kB / 446.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.297, allocations: 0 / 446.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000511/0.2975, allocations: 79.89 kB / 446.2 MB, free: 7.367 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.000194/0.2977, allocations: 119.2 kB / 446.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007127/0.2984, allocations: 357.3 kB / 446.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2984, allocations: 0 / 446.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.695e-05/0.2985, allocations: 27.97 kB / 446.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.2995, allocations: 294.8 kB / 446.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.301, allocations: 0.752 MB / 447.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3012, allocations: 210.3 kB / 447.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.3013, allocations: 39.27 kB / 447.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.3013, allocations: 35.44 kB / 448 MB, free: 5.484 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3013, allocations: 3.938 kB / 448 MB, free: 5.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01039/0.3117, allocations: 5.473 MB / 453.4 MB, free: 92 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.732844326645136]