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.00144/0.00144, allocations: 119.5 kB / 18.5 MB, free: 4.547 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.001614/0.001614, allocations: 205.7 kB / 21.45 MB, free: 1.602 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.665/1.665, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001909/0.001909, allocations: 67.89 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1122, allocations: 53.33 MB / 427.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004885/0.1171, allocations: 2.702 MB / 429.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1191, allocations: 0.9505 MB / 430.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.1193, allocations: 11.94 kB / 430.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.1196, allocations: 67.31 kB / 430.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.1199, allocations: 71.45 kB / 430.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.1206, allocations: 229.8 kB / 431.2 MB, free: 448 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.1211, allocations: 378.9 kB / 431.5 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2358/0.3569, allocations: 132.7 kB / 431.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.3573, allocations: 135.4 kB / 431.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.3576, allocations: 149.4 kB / 431.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.3577, allocations: 32.34 kB / 432 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.3579, allocations: 68.45 kB / 432 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.3581, allocations: 89.03 kB / 432.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.3583, allocations: 162.9 kB / 432.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008055/0.3591, allocations: 412.8 kB / 432.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3591, allocations: 0 / 432.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.3591, allocations: 0.8438 kB / 432.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.3591, allocations: 1.312 kB / 432.7 MB, free: 7.977 MB / 350.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.001357/0.3605, allocations: 0.6527 MB / 433.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.3606, allocations: 9.594 kB / 433.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.3607, allocations: 41.83 kB / 433.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.3612, allocations: 341.6 kB / 433.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.3613, allocations: 23.56 kB / 433.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.3613, allocations: 25.78 kB / 433.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.3632, allocations: 0.746 MB / 434.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.3632, allocations: 0 / 434.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.3632, allocations: 10.16 kB / 434.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.3633, allocations: 7 kB / 434.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008561/0.3641, allocations: 218.6 kB / 434.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.3653, allocations: 0.7745 MB / 435.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.3668, allocations: 0.596 MB / 436.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000723/0.3675, allocations: 239.1 kB / 436.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008302/0.3684, allocations: 0.5944 MB / 437 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.3684, allocations: 44.77 kB / 437 MB, free: 5.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 3.917e-06/0.3684, allocations: 0 / 437 MB, free: 5.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.002055/0.3705, allocations: 0.5284 MB / 437.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.3706, allocations: 206.9 kB / 437.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.371, allocations: 252.5 kB / 438 MB, free: 5.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.371, allocations: 35.27 kB / 438 MB, free: 5.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3712, allocations: 158.4 kB / 438.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.512e-05/0.3712, allocations: 53.06 kB / 438.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.3714, allocations: 81.88 kB / 438.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3715, allocations: 344.4 kB / 438.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.3718, allocations: 85.97 kB / 438.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/0.3722, allocations: 434.5 kB / 439.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007566/0.373, allocations: 0.5319 MB / 439.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.373, allocations: 2.562 kB / 439.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001285/0.3743, allocations: 497.9 kB / 440.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.3743, allocations: 11.5 kB / 440.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.3743, allocations: 11.31 kB / 440.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.961e-05/0.3744, allocations: 16.28 kB / 440.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.375, allocations: 126.5 kB / 440.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-05/0.375, allocations: 22.5 kB / 440.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.3755, allocations: 55.36 kB / 440.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.3756, allocations: 30.09 kB / 440.4 MB, free: 3.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.0003296/0.3759, allocations: 187.4 kB / 440.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/0.3771, allocations: 353.8 kB / 441 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.3783, allocations: 360.3 kB / 441.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.3783, allocations: 5.375 kB / 441.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.3783, allocations: 1.188 kB / 441.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.3783, allocations: 3.953 kB / 441.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.379, allocations: 337 kB / 441.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.379, allocations: 5.891 kB / 441.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/0.3798, allocations: 105.1 kB / 441.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.3798, allocations: 4.469 kB / 441.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.3798, allocations: 9.875 kB / 441.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.3798, allocations: 5.688 kB / 441.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3798, allocations: 1.125 kB / 441.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.3821, allocations: 0.7724 MB / 442.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.3822, allocations: 129.8 kB / 442.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.3823, allocations: 18.66 kB / 442.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.3828, allocations: 29.48 kB / 442.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.3828, allocations: 4.75 kB / 442.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.303e-05/0.3829, allocations: 15.48 kB / 442.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003718/0.3833, allocations: 181.1 kB / 442.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3833, allocations: 0.5312 kB / 442.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001169/0.3844, allocations: 81.14 kB / 443 MB, free: 2.301 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.0003021/0.3847, allocations: 131 kB / 443.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.3861, allocations: 354.5 kB / 443.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3861, allocations: 0 / 443.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.3863, allocations: 26.59 kB / 443.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.3882, allocations: 303.9 kB / 443.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.3907, allocations: 0.7516 MB / 444.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.3911, allocations: 0.8136 MB / 445.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.3913, allocations: 42.33 kB / 445.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.3915, allocations: 34.92 kB / 445.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of SimCode: time 1.402e-06/0.3915, allocations: 3.469 kB / 445.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of Templates: time 0.01974/0.4112, allocations: 4.689 MB / 450.1 MB, free: 0.5195 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/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_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: 4.994545763358474]