Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002196/0.002196, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 51.92 kB / 378.9 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2254, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004284/0.2297, allocations: 2.549 MB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2314, allocations: 0.8998 MB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.2316, allocations: 15.94 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.2318, allocations: 67.31 kB / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.232, allocations: 67.45 kB / 435.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.2327, allocations: 246.5 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.2332, allocations: 382.9 kB / 436.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/0.2334, allocations: 137.4 kB / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.2336, allocations: 139.4 kB / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.2338, allocations: 151.2 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.045e-05/0.2339, allocations: 32 kB / 437 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.234, allocations: 75.89 kB / 437 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.2341, allocations: 79.75 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.2343, allocations: 127.3 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.2348, allocations: 423.9 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2348, allocations: 0 / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2348, allocations: 0 / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.2348, allocations: 0 / 437.7 MB, free: 1.348 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.001118/0.2359, allocations: 0.5792 MB / 438.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.236, allocations: 8.031 kB / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.236, allocations: 44.64 kB / 438.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.2366, allocations: 269.9 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.2366, allocations: 25.03 kB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.2367, allocations: 28.38 kB / 438.6 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.2382, allocations: 0.791 MB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2382, allocations: 8 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.2383, allocations: 8 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.2383, allocations: 8 kB / 439.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.2389, allocations: 211.8 kB / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008107/0.2397, allocations: 0.6025 MB / 440.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.2408, allocations: 470 kB / 440.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005089/0.2413, allocations: 247 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004326/0.2417, allocations: 71.7 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.2417, allocations: 42.5 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.174e-06/0.2418, allocations: 0 / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001304/0.2431, allocations: 0.5283 MB / 441.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.2432, allocations: 207.9 kB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.2435, allocations: 253.8 kB / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.2435, allocations: 33.7 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.2437, allocations: 152.9 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.2437, allocations: 51.7 kB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.2438, allocations: 82.19 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.244, allocations: 350.9 kB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.2442, allocations: 88.88 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.2448, allocations: 485.5 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.2455, allocations: 0.5242 MB / 443.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2455, allocations: 0 / 443.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008807/0.2464, allocations: 0.5015 MB / 444.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2464, allocations: 8 kB / 444.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.2464, allocations: 12 kB / 444.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.2464, allocations: 16 kB / 444.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.2468, allocations: 119.8 kB / 444.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/0.2468, allocations: 23.92 kB / 444.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.2471, allocations: 55.77 kB / 444.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.2471, allocations: 32 kB / 444.5 MB, free: 9.84 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.0002126/0.2474, allocations: 190.1 kB / 444.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007085/0.2481, allocations: 354 kB / 445.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007642/0.2488, allocations: 356.8 kB / 445.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2488, allocations: 4 kB / 445.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.2488, allocations: 4 kB / 445.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2488, allocations: 7.984 kB / 445.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.2492, allocations: 201.1 kB / 445.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.2492, allocations: 7.984 kB / 445.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.2496, allocations: 95.88 kB / 445.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.2496, allocations: 11.88 kB / 445.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.2497, allocations: 12 kB / 445.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2497, allocations: 4 kB / 445.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2497, allocations: 0 / 445.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.251, allocations: 0.7748 MB / 446.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.2511, allocations: 47.66 kB / 446.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.2512, allocations: 19.94 kB / 446.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.2515, allocations: 27.91 kB / 446.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.2515, allocations: 16 kB / 446.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.2515, allocations: 8 kB / 446.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.2517, allocations: 185.2 kB / 446.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2517, allocations: 7.938 kB / 446.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005403/0.2523, allocations: 75.89 kB / 446.9 MB, free: 7.387 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.0001984/0.2525, allocations: 123.2 kB / 447 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007497/0.2532, allocations: 353.3 kB / 447.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2532, allocations: 320 / 447.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.2533, allocations: 31.92 kB / 447.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.2544, allocations: 284.1 kB / 447.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.2559, allocations: 0.7632 MB / 448.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.2562, allocations: 210.3 kB / 448.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.2563, allocations: 35.28 kB / 448.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.2564, allocations: 31.44 kB / 448.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2564, allocations: 3.938 kB / 448.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of Templates: time 0.01105/0.2674, allocations: 5.475 MB / 454.2 MB, free: 104 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.565534590001334]