Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001435/0.001435, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001509/0.001509, allocations: 156.9 kB / 24.27 MB, free: 164 kB / 18.57 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.483/1.483, allocations: 177 MB / 204.4 MB, free: 5.645 MB / 186.7 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.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 272.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.6e-05, allocations: 2.312 kB / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004188/0.004214, allocations: 2.313 MB / 274.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.006028, allocations: 0.8221 MB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.006164, allocations: 11.88 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.006453, allocations: 55.55 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.006702, allocations: 71.42 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.007309, allocations: 199.4 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.007806, allocations: 399.4 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.008002, allocations: 75.78 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.008449, allocations: 239.5 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.008713, allocations: 147.5 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.634e-05/0.008799, allocations: 36 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.00887, allocations: 36 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.009041, allocations: 111.6 kB / 276.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.009213, allocations: 115.6 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007555/0.009968, allocations: 386.8 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.009974, allocations: 0 / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.009975, allocations: 0 / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.009985, allocations: 0 / 277.1 MB, free: 12.84 MB / 266.7 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.001533/0.01152, allocations: 0.6103 MB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.01156, allocations: 11.98 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.01171, allocations: 80.69 kB / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.01219, allocations: 249.1 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/0.01255, allocations: 355.9 kB / 278.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.01262, allocations: 24.38 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.01395, allocations: 0.582 MB / 279 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.01397, allocations: 4.172 kB / 279 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.01402, allocations: 16.12 kB / 279.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.01403, allocations: 8 kB / 279.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.01558, allocations: 0.5152 MB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.01718, allocations: 0.8562 MB / 280.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.01873, allocations: 470.4 kB / 280.9 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.01941, allocations: 243.4 kB / 281.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.798e-05/0.01947, allocations: 19.98 kB / 281.2 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.01952, allocations: 46.44 kB / 281.2 MB, free: 8.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.013e-06/0.01952, allocations: 0 / 281.2 MB, free: 8.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.03803/0.05755, allocations: 5.798 MB / 287 MB, free: 2.711 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.05769, allocations: 149 kB / 287.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.05802, allocations: 269.8 kB / 287.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/0.05811, allocations: 37.7 kB / 287.5 MB, free: 2.219 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.05822, allocations: 153.8 kB / 287.6 MB, free: 2.062 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.05844, allocations: 198.3 kB / 287.8 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.05874, allocations: 94.3 kB / 287.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.05894, allocations: 350.7 kB / 288.2 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.06059, allocations: 0.6025 MB / 288.8 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.06229, allocations: 0.6898 MB / 289.5 MB, free: 100 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1226/0.1849, allocations: 1.115 MB / 290.6 MB, free: 28.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1849, allocations: 1.062 kB / 290.6 MB, free: 28.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003336/0.1882, allocations: 1.318 MB / 292 MB, free: 28.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.1883, allocations: 6.562 kB / 292 MB, free: 28.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1883, allocations: 4.406 kB / 292 MB, free: 28.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.1883, allocations: 5.438 kB / 292 MB, free: 28.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.1895, allocations: 178 kB / 292.1 MB, free: 28.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.1895, allocations: 8.562 kB / 292.2 MB, free: 28.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008715/0.1904, allocations: 90.84 kB / 292.2 MB, free: 28.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.1905, allocations: 21.23 kB / 292.3 MB, free: 28.39 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,kinematicPTP.motion_ref,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 (67): * Single equations (assignments): 67 * 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.0002708/0.1908, allocations: 180.4 kB / 292.4 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.1911, allocations: 188.4 kB / 292.6 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.1912, allocations: 68.39 kB / 292.7 MB, free: 28.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.1913, allocations: 8.969 kB / 292.7 MB, free: 28.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1913, allocations: 4.375 kB / 292.7 MB, free: 28.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.1913, allocations: 4.75 kB / 292.7 MB, free: 28.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/0.1955, allocations: 1.935 MB / 294.6 MB, free: 27.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.1955, allocations: 9.125 kB / 294.7 MB, free: 27.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.1962, allocations: 187.4 kB / 294.8 MB, free: 27.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.1962, allocations: 14.28 kB / 294.8 MB, free: 27.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.1963, allocations: 24.64 kB / 294.9 MB, free: 27.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/0.1963, allocations: 20.09 kB / 294.9 MB, free: 27.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.1963, allocations: 19.94 kB / 294.9 MB, free: 27.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.1991, allocations: 1.576 MB / 296.5 MB, free: 26.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.1993, allocations: 109.7 kB / 296.6 MB, free: 26.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.1994, allocations: 30.06 kB / 296.6 MB, free: 26.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.2, allocations: 82.64 kB / 296.7 MB, free: 26.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.2002, allocations: 100.5 kB / 296.8 MB, free: 26.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.2002, allocations: 31.34 kB / 296.8 MB, free: 26.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.2004, allocations: 193.5 kB / 297 MB, free: 25.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2004, allocations: 0 / 297 MB, free: 25.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005779/0.201, allocations: 116.7 kB / 297.1 MB, free: 25.96 MB / 266.7 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: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 73 * 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.0001258/0.2011, allocations: 135.5 kB / 297.3 MB, free: 25.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002424/0.2035, allocations: 1 MB / 298.3 MB, free: 25.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.2035, allocations: 1 kB / 298.3 MB, free: 25.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.2044, allocations: 341.2 kB / 298.6 MB, free: 25.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/0.2053, allocations: 179.4 kB / 298.8 MB, free: 25.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.2072, allocations: 1.182 MB / 300 MB, free: 24.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.2074, allocations: 232.1 kB / 300.2 MB, free: 24.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000435/0.2079, allocations: 93.09 kB / 300.3 MB, free: 24.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.2082, allocations: 42.86 kB / 300.3 MB, free: 24.38 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2082, allocations: 0 / 300.3 MB, free: 24.38 MB / 266.7 MB Notification: Performance of Templates: time 0.01045/0.2186, allocations: 8.982 MB / 309.3 MB, free: 17.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.776691647013649]