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.001725/0.001725, allocations: 113.1 kB / 21.19 MB, free: 0.7773 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.001795/0.001795, allocations: 209.9 kB / 24.49 MB, free: 4.164 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.527/1.527, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.002064/0.002064, allocations: 59.91 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3013, allocations: 53.41 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.005175/0.3065, allocations: 2.735 MB / 435.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.3087, allocations: 0.966 MB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005089/0.3092, allocations: 7.938 kB / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.3095, allocations: 59.33 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.3098, allocations: 67.45 kB / 436.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008896/0.3107, allocations: 251 kB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000539/0.3113, allocations: 378.9 kB / 436.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.3116, allocations: 145.3 kB / 437 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.3118, allocations: 143.4 kB / 437.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.312, allocations: 147.2 kB / 437.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.788e-05/0.3121, allocations: 32 kB / 437.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.3122, allocations: 63.97 kB / 437.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.3124, allocations: 91.61 kB / 437.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.3126, allocations: 155.1 kB / 437.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006375/0.3132, allocations: 419.4 kB / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3132, allocations: 0 / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3132, allocations: 0 / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.3132, allocations: 4 kB / 438 MB, free: 1.133 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.00119/0.3144, allocations: 0.5714 MB / 438.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3145, allocations: 12.03 kB / 438.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3146, allocations: 36.7 kB / 438.7 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006071/0.3152, allocations: 285.8 kB / 438.9 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.3152, allocations: 21.03 kB / 439 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.3153, allocations: 28.38 kB / 439 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.3168, allocations: 0.7447 MB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.3168, allocations: 0 / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.3169, allocations: 12 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.3169, allocations: 15.94 kB / 439.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.3175, allocations: 218.4 kB / 440 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.3186, allocations: 0.7073 MB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.3197, allocations: 453.2 kB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.3202, allocations: 243.2 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/0.3207, allocations: 83.56 kB / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/0.3207, allocations: 42.67 kB / 441.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 3.537e-06/0.3207, allocations: 3.938 kB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001381/0.3221, allocations: 0.5217 MB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/0.3223, allocations: 211.9 kB / 442.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.3227, allocations: 249.9 kB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.3227, allocations: 33.7 kB / 442.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.3229, allocations: 156.9 kB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.3229, allocations: 47.72 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3231, allocations: 82.19 kB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002507/0.3233, allocations: 350.8 kB / 443.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.3235, allocations: 84.94 kB / 443.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.3241, allocations: 434 kB / 443.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.3249, allocations: 0.5207 MB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.3249, allocations: 4 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009584/0.3258, allocations: 0.5014 MB / 444.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.3259, allocations: 11.98 kB / 444.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3259, allocations: 12 kB / 444.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/0.3259, allocations: 16 kB / 444.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.3263, allocations: 119.8 kB / 444.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.919e-05/0.3263, allocations: 23.92 kB / 444.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.3266, allocations: 51.72 kB / 444.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.3266, allocations: 32.25 kB / 444.9 MB, free: 9.641 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.0003217/0.327, allocations: 185.5 kB / 445.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000732/0.3277, allocations: 352.9 kB / 445.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008003/0.3285, allocations: 360.7 kB / 445.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.3285, allocations: 8 kB / 445.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3285, allocations: 4 kB / 445.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3285, allocations: 3.984 kB / 445.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.3291, allocations: 308.3 kB / 446.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.3291, allocations: 0 / 446.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/0.3295, allocations: 95.88 kB / 446.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.3295, allocations: 4 kB / 446.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.3295, allocations: 12 kB / 446.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/0.3295, allocations: 15.86 kB / 446.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3295, allocations: 4 kB / 446.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.3309, allocations: 0.7786 MB / 447 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.331, allocations: 43.67 kB / 447.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.3311, allocations: 16 kB / 447.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.3313, allocations: 23.97 kB / 447.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.3314, allocations: 7.984 kB / 447.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.3314, allocations: 15.94 kB / 447.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.3316, allocations: 185.3 kB / 447.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3316, allocations: 0 / 447.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005967/0.3322, allocations: 83.89 kB / 447.4 MB, free: 7.074 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.0002367/0.3324, allocations: 119.2 kB / 447.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008846/0.3333, allocations: 357.6 kB / 447.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3333, allocations: 0 / 447.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3334, allocations: 39.91 kB / 447.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.3345, allocations: 298.3 kB / 448.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.3362, allocations: 0.773 MB / 448.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.3367, allocations: 0.812 MB / 449.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.486e-05/0.3368, allocations: 35.44 kB / 449.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3368, allocations: 0 / 449.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of Templates: time 0.009223/0.346, allocations: 4.521 MB / 454.3 MB, free: 72 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/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: 8.23740948480554]