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.001272/0.001272, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.0015/0.0015, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.568/1.568, allocations: 230.5 MB / 258.1 MB, free: 7.77 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.001942/0.001942, allocations: 59.89 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2894, allocations: 53.41 MB / 432.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.005122/0.2945, allocations: 2.568 MB / 434.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.2967, allocations: 0.8998 MB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004278/0.2972, allocations: 11.94 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.2975, allocations: 59.33 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.2979, allocations: 71.44 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008729/0.2988, allocations: 238.7 kB / 436.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.2994, allocations: 382.8 kB / 436.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.2997, allocations: 137.3 kB / 436.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.2999, allocations: 139.4 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.3001, allocations: 135.2 kB / 437 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.978e-05/0.3002, allocations: 32 kB / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.3004, allocations: 67.91 kB / 437.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3005, allocations: 83.7 kB / 437.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.3007, allocations: 135.3 kB / 437.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.3013, allocations: 423.8 kB / 437.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3013, allocations: 0 / 437.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3013, allocations: 0 / 437.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3013, allocations: 0 / 437.7 MB, free: 1.148 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.001224/0.3025, allocations: 0.5753 MB / 438.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3025, allocations: 8.031 kB / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.3027, allocations: 40.7 kB / 438.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.3032, allocations: 269.9 kB / 438.6 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3032, allocations: 21.03 kB / 438.6 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.3033, allocations: 32.36 kB / 438.6 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.3048, allocations: 0.7988 MB / 439.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.3048, allocations: 0 / 439.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.3048, allocations: 8 kB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3049, allocations: 8 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006031/0.3055, allocations: 219.8 kB / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008461/0.3063, allocations: 0.6103 MB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.3073, allocations: 453.8 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.3078, allocations: 247.1 kB / 441 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004216/0.3082, allocations: 67.72 kB / 441 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.3083, allocations: 42.5 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.785e-06/0.3083, allocations: 0 / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.00128/0.3096, allocations: 0.5248 MB / 441.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.3097, allocations: 213 kB / 441.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.3101, allocations: 253.8 kB / 442.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.3101, allocations: 37.7 kB / 442.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.3102, allocations: 148.9 kB / 442.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.3103, allocations: 47.83 kB / 442.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.3104, allocations: 86.12 kB / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3106, allocations: 346.8 kB / 442.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.3108, allocations: 88.88 kB / 442.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.3113, allocations: 493.5 kB / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007375/0.312, allocations: 0.532 MB / 443.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.3121, allocations: 0 / 443.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008937/0.3129, allocations: 0.4891 MB / 444.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.313, allocations: 8 kB / 444.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.313, allocations: 12.91 kB / 444.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/0.313, allocations: 16 kB / 444.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.3134, allocations: 127.8 kB / 444.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.924e-05/0.3134, allocations: 19.94 kB / 444.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.3137, allocations: 55.72 kB / 444.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.3137, allocations: 32 kB / 444.6 MB, free: 9.652 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.0002715/0.314, allocations: 192.6 kB / 444.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007229/0.3147, allocations: 356.9 kB / 445.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007259/0.3154, allocations: 348.8 kB / 445.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3155, allocations: 4 kB / 445.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.3155, allocations: 4 kB / 445.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3155, allocations: 3.984 kB / 445.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.3158, allocations: 209 kB / 445.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.3158, allocations: 4 kB / 445.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.3162, allocations: 103.9 kB / 445.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.3163, allocations: 11.88 kB / 445.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.3163, allocations: 8 kB / 445.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.3163, allocations: 3.938 kB / 445.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3163, allocations: 4 kB / 445.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.3176, allocations: 0.7709 MB / 446.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.3177, allocations: 47.66 kB / 446.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.3178, allocations: 19.94 kB / 446.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.318, allocations: 27.97 kB / 446.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.3181, allocations: 8.031 kB / 446.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.3181, allocations: 15.98 kB / 446.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.3183, allocations: 177.2 kB / 446.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3183, allocations: 4 kB / 446.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000641/0.319, allocations: 83.95 kB / 446.9 MB, free: 7.199 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.0002333/0.3192, allocations: 123.2 kB / 447.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008699/0.3201, allocations: 351.8 kB / 447.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3201, allocations: 1.812 kB / 447.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3202, allocations: 31.91 kB / 447.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.3213, allocations: 298.8 kB / 447.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3229, allocations: 0.7879 MB / 448.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.3232, allocations: 210.3 kB / 448.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.3232, allocations: 31.44 kB / 448.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3232, allocations: 4 kB / 448.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of Templates: time 0.008666/0.3319, allocations: 4.609 MB / 453.4 MB, free: 0.707 MB / 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/jenkins1/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/jenkins1/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: 7.583681181073189]