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.001713/0.001713, allocations: 113 kB / 19.04 MB, free: 3.254 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.001974/0.001974, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.391/1.391, allocations: 225.6 MB / 250.8 MB, free: 13.35 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.001553/0.001553, allocations: 51.91 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3402, allocations: 52.13 MB / 420.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004326/0.3445, allocations: 2.73 MB / 423.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3463, allocations: 0.9193 MB / 424.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.3465, allocations: 11.94 kB / 424.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.3467, allocations: 63.38 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.347, allocations: 71.38 kB / 424.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007408/0.3477, allocations: 246.9 kB / 424.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000456/0.3482, allocations: 378.9 kB / 425.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.3485, allocations: 132.9 kB / 425.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.3487, allocations: 135.4 kB / 425.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.3489, allocations: 147.2 kB / 425.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.069e-05/0.3489, allocations: 32 kB / 425.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.349, allocations: 75.95 kB / 425.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.3492, allocations: 83.69 kB / 425.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.3493, allocations: 163 kB / 426 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.3498, allocations: 415.5 kB / 426.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3498, allocations: 0 / 426.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3498, allocations: 3.938 kB / 426.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3499, allocations: 0 / 426.4 MB, free: 9.512 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.001099/0.351, allocations: 0.6505 MB / 427.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.351, allocations: 11.89 kB / 427.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.972e-05/0.3511, allocations: 44.66 kB / 427.1 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.3515, allocations: 332.1 kB / 427.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.3516, allocations: 20.94 kB / 427.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.3516, allocations: 28.38 kB / 427.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.353, allocations: 0.7521 MB / 428.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.3531, allocations: 0 / 428.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.3531, allocations: 15.94 kB / 428.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.3531, allocations: 8 kB / 428.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/0.3536, allocations: 211.8 kB / 428.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.3546, allocations: 0.7761 MB / 429.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3557, allocations: 0.6039 MB / 429.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.3561, allocations: 247.5 kB / 430.1 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007155/0.3568, allocations: 0.5895 MB / 430.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.3569, allocations: 38.56 kB / 430.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 1.863e-06/0.3569, allocations: 0 / 430.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001207/0.3581, allocations: 0.5244 MB / 431.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/0.3582, allocations: 211.7 kB / 431.4 MB, free: 4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.3585, allocations: 254.6 kB / 431.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.3585, allocations: 33.7 kB / 431.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3586, allocations: 161 kB / 431.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.3587, allocations: 47.77 kB / 431.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3588, allocations: 86.25 kB / 432 MB, free: 3.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.359, allocations: 346.8 kB / 432.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3591, allocations: 85.11 kB / 432.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.3596, allocations: 434.9 kB / 432.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/0.3602, allocations: 0.5323 MB / 433.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.3602, allocations: 4 kB / 433.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000794/0.361, allocations: 0.4932 MB / 433.9 MB, free: 1.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.361, allocations: 12 kB / 433.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.361, allocations: 12 kB / 433.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.3611, allocations: 12.75 kB / 433.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.3614, allocations: 119.8 kB / 434 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/0.3614, allocations: 31.91 kB / 434.1 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.3617, allocations: 51.72 kB / 434.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.3617, allocations: 32 kB / 434.2 MB, free: 0.918 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.0002021/0.3619, allocations: 189.5 kB / 434.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006421/0.3625, allocations: 350.2 kB / 434.7 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006927/0.3632, allocations: 368.5 kB / 435 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3632, allocations: 4 kB / 435 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3633, allocations: 0 / 435 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.3633, allocations: 8.047 kB / 435.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.3637, allocations: 337.1 kB / 435.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.3637, allocations: 4 kB / 435.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.3641, allocations: 103.8 kB / 435.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3641, allocations: 0 / 435.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.3641, allocations: 15.98 kB / 435.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3641, allocations: 4 kB / 435.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3641, allocations: 0 / 435.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.3655, allocations: 0.7827 MB / 436.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3656, allocations: 116.8 kB / 436.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.3656, allocations: 19.98 kB / 436.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.3659, allocations: 24.05 kB / 436.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.3659, allocations: 11.98 kB / 436.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.366, allocations: 8 kB / 436.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.3662, allocations: 182 kB / 436.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3662, allocations: 4 kB / 436.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005614/0.3667, allocations: 71.98 kB / 436.7 MB, free: 14.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.0002113/0.3669, allocations: 123.1 kB / 436.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007821/0.3677, allocations: 357.2 kB / 437.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3677, allocations: 0 / 437.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3678, allocations: 31.91 kB / 437.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3689, allocations: 295.5 kB / 437.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.3705, allocations: 0.7623 MB / 438.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.3709, allocations: 0.812 MB / 439.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.371, allocations: 39.27 kB / 439.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.3711, allocations: 35.42 kB / 439.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3711, allocations: 7.938 kB / 439.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Templates: time 0.01059/0.3817, allocations: 4.848 MB / 444 MB, free: 6.906 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/jenkins/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/jenkins/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: 4.629213681444526]