Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.001401, allocations: 122.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 247.1 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 51.92 kB / 358.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.106, allocations: 49.43 MB / 408.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.00416/0.1102, allocations: 2.385 MB / 410.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.112, allocations: 0.826 MB / 411.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.1122, allocations: 7.938 kB / 411.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1126, allocations: 63.5 kB / 411.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.1128, allocations: 63.48 kB / 411.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.1135, allocations: 195.6 kB / 411.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.114, allocations: 391.5 kB / 412 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.1142, allocations: 99.5 kB / 412.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.1145, allocations: 167.4 kB / 412.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.1148, allocations: 175.2 kB / 412.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.1149, allocations: 36 kB / 412.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.022e-05/0.115, allocations: 32 kB / 412.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1151, allocations: 107.7 kB / 412.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.1153, allocations: 167 kB / 412.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.1158, allocations: 374.3 kB / 413.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1158, allocations: 4 kB / 413.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1158, allocations: 0 / 413.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1158, allocations: 0 / 413.1 MB, free: 1.781 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001397/0.1172, allocations: 0.6817 MB / 413.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1173, allocations: 11.89 kB / 413.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.1174, allocations: 44.7 kB / 413.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.1179, allocations: 315.3 kB / 414.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.1182, allocations: 146.2 kB / 414.3 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.1183, allocations: 28.38 kB / 414.3 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.1196, allocations: 0.5668 MB / 414.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1196, allocations: 3.953 kB / 414.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.1197, allocations: 12 kB / 414.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1197, allocations: 11.98 kB / 414.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.1212, allocations: 0.5113 MB / 415.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.123, allocations: 1.029 MB / 416.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.1247, allocations: 0.4985 MB / 417 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006972/0.1254, allocations: 259.4 kB / 417.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-05/0.1255, allocations: 12.12 kB / 417.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.1256, allocations: 42.5 kB / 417.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.164e-06/0.1256, allocations: 0 / 417.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.04054/0.1661, allocations: 5.768 MB / 423.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.1663, allocations: 148.9 kB / 423.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.1666, allocations: 258.6 kB / 423.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.983e-05/0.1667, allocations: 45.69 kB / 423.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1669, allocations: 149.7 kB / 423.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.1671, allocations: 198.3 kB / 423.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.1674, allocations: 114.6 kB / 424 MB, free: 6.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1676, allocations: 346.8 kB / 424.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.1693, allocations: 0.6226 MB / 424.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.1713, allocations: 0.7924 MB / 425.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/0.1747, allocations: 1.247 MB / 427 MB, free: 3.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.1747, allocations: 4 kB / 427 MB, free: 3.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003926/0.1787, allocations: 1.402 MB / 428.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.1787, allocations: 8 kB / 428.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.1788, allocations: 4 kB / 428.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.1788, allocations: 12.56 kB / 428.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.1802, allocations: 211.7 kB / 428.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.1802, allocations: 15.92 kB / 428.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.1812, allocations: 95.78 kB / 428.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.405e-05/0.1813, allocations: 39.92 kB / 428.7 MB, free: 1.664 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.0003709/0.1817, allocations: 193.6 kB / 428.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.1821, allocations: 157.3 kB / 429.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.1823, allocations: 71.61 kB / 429.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1823, allocations: 8 kB / 429.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1823, allocations: 0 / 429.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.1823, allocations: 3.984 kB / 429.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2295/0.4118, allocations: 2.183 MB / 431.3 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/0.4119, allocations: 12.31 kB / 431.4 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/0.4127, allocations: 182.8 kB / 431.5 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.247e-05/0.4127, allocations: 14.34 kB / 431.5 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.4128, allocations: 25.11 kB / 431.6 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-05/0.4128, allocations: 23.53 kB / 431.6 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/0.4128, allocations: 15.03 kB / 431.6 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003119/0.416, allocations: 1.561 MB / 433.2 MB, free: 22.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.4162, allocations: 182.9 kB / 433.4 MB, free: 22.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.748e-05/0.4163, allocations: 30.16 kB / 433.4 MB, free: 22.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/0.4169, allocations: 74.8 kB / 433.5 MB, free: 22.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.4172, allocations: 100.4 kB / 433.6 MB, free: 22.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/0.4173, allocations: 31.89 kB / 433.6 MB, free: 22.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.4175, allocations: 190.8 kB / 433.8 MB, free: 22.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4175, allocations: 0 / 433.8 MB, free: 22.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007171/0.4182, allocations: 123.1 kB / 433.9 MB, free: 22.22 MB / 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.0001726/0.4184, allocations: 133 kB / 434 MB, free: 22.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003237/0.4216, allocations: 1.143 MB / 435.2 MB, free: 22.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.4217, allocations: 2.453 kB / 435.2 MB, free: 22.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.4229, allocations: 340.8 kB / 435.5 MB, free: 22.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.4241, allocations: 157.2 kB / 435.7 MB, free: 22.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.4266, allocations: 1.27 MB / 436.9 MB, free: 21.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.427, allocations: 0.8295 MB / 437.8 MB, free: 20.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.4274, allocations: 47 kB / 437.8 MB, free: 20.55 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4274, allocations: 0 / 437.8 MB, free: 20.55 MB / 350.1 MB Notification: Performance of Templates: time 0.01452/0.4419, allocations: 7.415 MB / 445.2 MB, free: 19.29 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.030334212002344]