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.001888/0.001888, allocations: 114.7 kB / 19.18 MB, free: 3.91 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.002349/0.002349, allocations: 214.6 kB / 22.13 MB, free: 0.9609 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.473/1.473, allocations: 230.2 MB / 255.2 MB, free: 15.26 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.001896/0.001896, allocations: 59.91 kB / 374.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 53.32 MB / 427.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004251/0.1072, allocations: 2.706 MB / 430.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.109, allocations: 0.9466 MB / 431.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.1092, allocations: 11.94 kB / 431.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1094, allocations: 59.39 kB / 431.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.1097, allocations: 67.45 kB / 431.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.1104, allocations: 249 kB / 431.9 MB, free: 476 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.1109, allocations: 374.9 kB / 432.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2533/0.3641, allocations: 133.6 kB / 432.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.3645, allocations: 134.8 kB / 432.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.3647, allocations: 150.7 kB / 432.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.047e-05/0.3648, allocations: 31.28 kB / 432.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.365, allocations: 71.38 kB / 432.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.3651, allocations: 80.98 kB / 432.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.3653, allocations: 164 kB / 433 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.366, allocations: 422.2 kB / 433.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.366, allocations: 2.812 kB / 433.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.366, allocations: 0 / 433.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.366, allocations: 4.781 kB / 433.4 MB, free: 7.988 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.001077/0.3671, allocations: 0.6448 MB / 434 MB, free: 7.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3671, allocations: 9.906 kB / 434 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.196e-05/0.3672, allocations: 39.58 kB / 434.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.3676, allocations: 342.6 kB / 434.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.3676, allocations: 19.5 kB / 434.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.3677, allocations: 30.03 kB / 434.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.3689, allocations: 0.7401 MB / 435.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.369, allocations: 3.188 kB / 435.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.369, allocations: 13.77 kB / 435.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.369, allocations: 7.125 kB / 435.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/0.3696, allocations: 216 kB / 435.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.3703, allocations: 0.773 MB / 436.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.3714, allocations: 0.5991 MB / 436.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.3718, allocations: 239.6 kB / 437 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/0.3724, allocations: 0.597 MB / 437.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3724, allocations: 42.22 kB / 437.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.225e-06/0.3724, allocations: 0 / 437.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001253/0.3737, allocations: 0.5247 MB / 438.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.337e-05/0.3737, allocations: 209.3 kB / 438.4 MB, free: 5.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.374, allocations: 256.8 kB / 438.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.374, allocations: 32.77 kB / 438.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.3741, allocations: 157.3 kB / 438.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.3742, allocations: 46.19 kB / 438.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3743, allocations: 82.52 kB / 439 MB, free: 4.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.3743, allocations: 345.6 kB / 439.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.3745, allocations: 86.77 kB / 439.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.3749, allocations: 434 kB / 439.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/0.3755, allocations: 0.5283 MB / 440.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.3755, allocations: 4.109 kB / 440.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008396/0.3763, allocations: 0.4924 MB / 440.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.3763, allocations: 10.78 kB / 440.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.3764, allocations: 11.97 kB / 440.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.3764, allocations: 23.84 kB / 440.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.3767, allocations: 121.5 kB / 441 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.078e-05/0.3768, allocations: 25.61 kB / 441 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.377, allocations: 51.56 kB / 441.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.3771, allocations: 30.34 kB / 441.1 MB, free: 3.66 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.0001949/0.3773, allocations: 186.4 kB / 441.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006953/0.378, allocations: 352.1 kB / 441.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007249/0.3787, allocations: 353 kB / 442 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3787, allocations: 6.641 kB / 442 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3787, allocations: 1.156 kB / 442 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.3787, allocations: 3.562 kB / 442 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.3791, allocations: 342.6 kB / 442.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.3791, allocations: 1.5 kB / 442.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.3795, allocations: 108.8 kB / 442.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3795, allocations: 4.047 kB / 442.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3796, allocations: 14.2 kB / 442.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3796, allocations: 2.125 kB / 442.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3796, allocations: 2.562 kB / 442.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.3809, allocations: 0.7759 MB / 443.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.381, allocations: 126.7 kB / 443.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.381, allocations: 19.17 kB / 443.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.3813, allocations: 26.89 kB / 443.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.3813, allocations: 5.484 kB / 443.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.3814, allocations: 15.16 kB / 443.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002245/0.3816, allocations: 184.2 kB / 443.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3816, allocations: 0.625 kB / 443.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006628/0.3822, allocations: 73.17 kB / 443.7 MB, free: 2.316 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.0001999/0.3824, allocations: 134.1 kB / 443.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.3832, allocations: 353 kB / 444.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3832, allocations: 1.25 kB / 444.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3833, allocations: 27.33 kB / 444.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.3844, allocations: 304.6 kB / 444.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.3859, allocations: 0.7904 MB / 445.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.3862, allocations: 0.8128 MB / 446.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.3863, allocations: 31.19 kB / 446.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3863, allocations: 0 / 446.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of Templates: time 0.00939/0.3957, allocations: 4.522 MB / 450.6 MB, free: 380 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_2/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_2/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.093261118978262]