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.001819/0.001819, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 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.002233/0.002233, allocations: 159.1 kB / 24.48 MB, free: 3.465 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.423/1.423, allocations: 173.4 MB / 201 MB, free: 12.58 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.001601/0.001601, allocations: 46.38 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.09403, allocations: 52.17 MB / 371.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004273/0.0983, allocations: 2.286 MB / 373.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1005, allocations: 0.791 MB / 374.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.1008, allocations: 7.938 kB / 374.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.1012, allocations: 63.5 kB / 374.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.1016, allocations: 71.48 kB / 374.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007913/0.1024, allocations: 195.6 kB / 375 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006782/0.1031, allocations: 399.5 kB / 375.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.1033, allocations: 63.81 kB / 375.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.1037, allocations: 179.4 kB / 375.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.1041, allocations: 167.2 kB / 375.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-05/0.1042, allocations: 32 kB / 375.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-05/0.1042, allocations: 36 kB / 375.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.1044, allocations: 115.6 kB / 375.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.1046, allocations: 135.3 kB / 376.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.1051, allocations: 378.4 kB / 376.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1051, allocations: 0 / 376.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1051, allocations: 0 / 376.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1051, allocations: 0 / 376.4 MB, free: 2.453 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.00148/0.1066, allocations: 0.6103 MB / 377 MB, free: 1.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1067, allocations: 8.031 kB / 377.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.1068, allocations: 52.64 kB / 377.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.1073, allocations: 249.8 kB / 377.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.1078, allocations: 347.9 kB / 377.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.1078, allocations: 28.38 kB / 377.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.1092, allocations: 0.5739 MB / 378.3 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.1092, allocations: 3.953 kB / 378.3 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.1093, allocations: 15.98 kB / 378.3 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.1093, allocations: 4 kB / 378.3 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.1108, allocations: 0.5152 MB / 378.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.1124, allocations: 0.86 MB / 379.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.1139, allocations: 478.5 kB / 380.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006894/0.1146, allocations: 239.4 kB / 380.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.1147, allocations: 7.984 kB / 380.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.1147, allocations: 42.5 kB / 380.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.014e-06/0.1147, allocations: 0 / 380.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.04026/0.155, allocations: 5.796 MB / 386.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.1551, allocations: 145 kB / 386.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.1554, allocations: 269.8 kB / 386.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/0.1555, allocations: 41.7 kB / 386.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1557, allocations: 141.8 kB / 386.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.1559, allocations: 206.3 kB / 387 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.1562, allocations: 118.6 kB / 387.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1564, allocations: 346.7 kB / 387.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.1581, allocations: 0.6227 MB / 388.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.16, allocations: 0.8081 MB / 388.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.1634, allocations: 1.261 MB / 390.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.1634, allocations: 4 kB / 390.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003905/0.1673, allocations: 1.411 MB / 391.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1673, allocations: 8 kB / 391.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.1673, allocations: 7.938 kB / 391.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.1674, allocations: 12 kB / 391.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.1688, allocations: 207.7 kB / 391.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.1688, allocations: 11.94 kB / 391.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.1698, allocations: 111.7 kB / 391.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.041e-05/0.1699, allocations: 24 kB / 392 MB, free: 2.426 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: 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 (84): * Single equations (assignments): 84 * 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.0003447/0.1702, allocations: 193.6 kB / 392.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.1706, allocations: 165.4 kB / 392.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.1708, allocations: 67.61 kB / 392.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.1708, allocations: 8 kB / 392.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1708, allocations: 0 / 392.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.1708, allocations: 11.92 kB / 392.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005105/0.1759, allocations: 1.934 MB / 394.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.1759, allocations: 8 kB / 394.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/0.1767, allocations: 188.6 kB / 394.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/0.1767, allocations: 16 kB / 394.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/0.1768, allocations: 28 kB / 394.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.167e-05/0.1768, allocations: 23.86 kB / 394.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/0.1768, allocations: 15.94 kB / 394.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/0.1804, allocations: 1.574 MB / 396.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.1807, allocations: 111.6 kB / 396.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.462e-05/0.1807, allocations: 28 kB / 396.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.1814, allocations: 79.84 kB / 396.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.1816, allocations: 99.64 kB / 396.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/0.1817, allocations: 28 kB / 396.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.1819, allocations: 193.2 kB / 396.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1819, allocations: 4.062 kB / 396.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007222/0.1826, allocations: 124 kB / 396.8 MB, free: 13.22 MB / 366.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: 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.0001657/0.1828, allocations: 135 kB / 397 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.1858, allocations: 1.034 MB / 398 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.1858, allocations: 4 kB / 398 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.1869, allocations: 338.5 kB / 398.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009307/0.1878, allocations: 149.8 kB / 398.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.1904, allocations: 1.26 MB / 399.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1907, allocations: 224.7 kB / 400 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004826/0.1912, allocations: 104.1 kB / 400.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.1915, allocations: 40.44 kB / 400.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1915, allocations: 0 / 400.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of Templates: time 0.01592/0.2074, allocations: 9.196 MB / 409.3 MB, free: 0.6562 MB / 366.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.815692219068296]