Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.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.001549/0.001549, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.001683/0.001683, allocations: 207 kB / 24.48 MB, free: 4.035 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.501/1.501, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous") [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.001986/0.001986, allocations: 67.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3176, allocations: 53.32 MB / 432 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous): time 0.004099/0.3217, allocations: 2.19 MB / 434.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3231, allocations: 0.69 MB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.3233, allocations: 0 / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.3236, allocations: 47.64 kB / 435 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.3237, allocations: 59.55 kB / 435 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.3241, allocations: 119.8 kB / 435.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.3245, allocations: 335.2 kB / 435.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.3247, allocations: 52.31 kB / 435.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.325, allocations: 151.5 kB / 435.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.3253, allocations: 155.4 kB / 435.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.3254, allocations: 36 kB / 435.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.806e-05/0.3254, allocations: 31.94 kB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.3255, allocations: 95.64 kB / 436 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.3257, allocations: 123.4 kB / 436.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.3261, allocations: 284.9 kB / 436.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3261, allocations: 0 / 436.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3261, allocations: 0 / 436.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3261, allocations: 0 / 436.4 MB, free: 3.016 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001272/0.3274, allocations: 0.5802 MB / 436.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.3274, allocations: 8.031 kB / 437 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.3275, allocations: 32.8 kB / 437 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.3279, allocations: 256.5 kB / 437.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.3282, allocations: 134.2 kB / 437.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.3282, allocations: 27.94 kB / 437.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.3291, allocations: 367.6 kB / 437.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3291, allocations: 3.953 kB / 437.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.3292, allocations: 16 kB / 437.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3292, allocations: 4 kB / 437.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.3305, allocations: 497.8 kB / 438.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.3324, allocations: 1.004 MB / 439.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.3337, allocations: 323.1 kB / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.3342, allocations: 165.2 kB / 439.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.3342, allocations: 8.219 kB / 439.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3343, allocations: 30.8 kB / 439.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/0.3343, allocations: 0 / 439.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.02865/0.3629, allocations: 5.795 MB / 445.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.363, allocations: 67.78 kB / 445.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.3633, allocations: 202.2 kB / 445.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.3633, allocations: 37.7 kB / 445.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3634, allocations: 145 kB / 446 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.3636, allocations: 182.5 kB / 446.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.3638, allocations: 90.2 kB / 446.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.364, allocations: 338.8 kB / 446.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.3654, allocations: 468.8 kB / 447.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.3668, allocations: 0.5138 MB / 447.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.3693, allocations: 0.8071 MB / 448.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3693, allocations: 7.938 kB / 448.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002903/0.3722, allocations: 0.9789 MB / 449.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.3722, allocations: 8 kB / 449.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3723, allocations: 3.938 kB / 449.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.3723, allocations: 4 kB / 449.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.3733, allocations: 171.8 kB / 449.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.3733, allocations: 7.984 kB / 449.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007065/0.374, allocations: 79.89 kB / 449.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/0.3741, allocations: 23.94 kB / 449.7 MB, free: 5.324 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (kinematicPTP.noWphase,kinematicPTP.moving[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0002649/0.3743, allocations: 165.7 kB / 449.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3745, allocations: 35.8 kB / 449.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.3746, allocations: 51.25 kB / 449.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.3746, allocations: 3.984 kB / 449.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3746, allocations: 3.938 kB / 449.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.3748, allocations: 156.9 kB / 450.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/0.3749, allocations: 11.98 kB / 450.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/0.3756, allocations: 79.89 kB / 450.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.3758, allocations: 72.34 kB / 450.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003352/0.3792, allocations: 0.9953 MB / 451.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004168/0.3834, allocations: 1.544 MB / 452.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001271/0.3846, allocations: 419.2 kB / 453.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.3848, allocations: 140.3 kB / 453.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.3848, allocations: 0 / 453.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.3869, allocations: 0.6145 MB / 453.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of SimCode: time 0.001512/0.3884, allocations: 1.061 MB / 455 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Templates: time 0.0174/0.4058, allocations: 9.334 MB / 464.3 MB, free: 6.594 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.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.808336852118373]