Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.001744/0.001744, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001761/0.001761, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.715/1.715, allocations: 230.4 MB / 255.4 MB, free: 15.02 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-beta.om/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.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003446/0.003446, allocations: 75.77 kB / 374.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1776, allocations: 53.31 MB / 428 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004959/0.1826, allocations: 2.411 MB / 430.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1848, allocations: 0.8689 MB / 431.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.1851, allocations: 7.938 kB / 431.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.1855, allocations: 59.5 kB / 431.4 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.1858, allocations: 63.48 kB / 431.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007935/0.1866, allocations: 210.4 kB / 431.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.1873, allocations: 395.5 kB / 432 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.1875, allocations: 67.52 kB / 432.1 MB, free: 284 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004392/0.1879, allocations: 183.4 kB / 432.3 MB, free: 100 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2701/0.4581, allocations: 182.4 kB / 432.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.4582, allocations: 33.66 kB / 432.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.4583, allocations: 34.53 kB / 432.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.4585, allocations: 109 kB / 432.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.4587, allocations: 162 kB / 432.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.4592, allocations: 372.3 kB / 433.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4592, allocations: 0.9688 kB / 433.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4592, allocations: 4.406 kB / 433.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.4592, allocations: 0 / 433.2 MB, free: 8.809 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001261/0.4604, allocations: 0.6739 MB / 433.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4605, allocations: 10.61 kB / 433.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.4606, allocations: 45.64 kB / 433.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.461, allocations: 315.2 kB / 434.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.4612, allocations: 137.8 kB / 434.3 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.4613, allocations: 29.66 kB / 434.4 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.4624, allocations: 0.5734 MB / 434.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.4624, allocations: 4.484 kB / 434.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.4624, allocations: 13.5 kB / 434.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4624, allocations: 8.562 kB / 435 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.4637, allocations: 0.5035 MB / 435.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.4651, allocations: 1.028 MB / 436.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.4667, allocations: 478.1 kB / 437 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/0.4673, allocations: 231.7 kB / 437.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.4673, allocations: 16.58 kB / 437.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.4673, allocations: 39.97 kB / 437.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.505e-06/0.4674, allocations: 0 / 437.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03931/0.5067, allocations: 5.771 MB / 443 MB, free: 6.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.5068, allocations: 151.4 kB / 443.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.5071, allocations: 259 kB / 443.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.5071, allocations: 36.17 kB / 443.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.5072, allocations: 153.7 kB / 443.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.5074, allocations: 201 kB / 443.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.5077, allocations: 115.5 kB / 443.9 MB, free: 5.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.5078, allocations: 346 kB / 444.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.5094, allocations: 0.6168 MB / 444.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.511, allocations: 0.7977 MB / 445.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/0.5139, allocations: 1.25 MB / 446.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.5139, allocations: 1.312 kB / 446.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003538/0.5174, allocations: 1.401 MB / 448.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.5174, allocations: 7.875 kB / 448.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.5175, allocations: 6.875 kB / 448.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/0.5175, allocations: 8.406 kB / 448.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.5189, allocations: 212.8 kB / 448.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/0.5189, allocations: 12.38 kB / 448.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.5199, allocations: 102.7 kB / 448.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.805e-05/0.52, allocations: 28.48 kB / 448.7 MB, free: 3.305 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 2 (kinematicPTP.noWphase,kinematicPTP.moving[1]) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003752/0.5204, allocations: 198 kB / 448.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/0.5207, allocations: 163.6 kB / 449 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.5209, allocations: 69.02 kB / 449.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.5209, allocations: 7.062 kB / 449.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.5209, allocations: 1.562 kB / 449.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.5209, allocations: 5.266 kB / 449.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004722/0.5256, allocations: 2.181 MB / 451.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/0.5257, allocations: 11.56 kB / 451.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/0.5264, allocations: 188.2 kB / 451.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.29e-05/0.5264, allocations: 13.34 kB / 451.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.5265, allocations: 23.19 kB / 451.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.987e-05/0.5265, allocations: 26.83 kB / 451.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/0.5265, allocations: 15.47 kB / 451.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002953/0.5295, allocations: 1.573 MB / 453.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.5298, allocations: 180.1 kB / 453.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.701e-05/0.5299, allocations: 23.44 kB / 453.3 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.5304, allocations: 87.39 kB / 453.4 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.5306, allocations: 91.3 kB / 453.5 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.5307, allocations: 32.95 kB / 453.5 MB, free: 308 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.5309, allocations: 186 kB / 453.7 MB, free: 180 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5309, allocations: 0 / 453.7 MB, free: 180 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008063/0.5317, allocations: 124.1 kB / 453.8 MB, free: 160 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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 Backend phase and start with SimCode phase: time 0.0001917/0.5319, allocations: 136.3 kB / 454 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002967/0.5348, allocations: 1.032 MB / 455 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/0.5348, allocations: 5.5 kB / 455 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.5359, allocations: 330.2 kB / 455.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.537, allocations: 146.7 kB / 455.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.54, allocations: 1.274 MB / 456.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.5406, allocations: 0.8315 MB / 457.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.541, allocations: 48.19 kB / 457.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.541, allocations: 0 / 457.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Templates: time 0.0149/0.5559, allocations: 7.415 MB / 465 MB, free: 9.609 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.560214922006708]