Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.001633/0.001633, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.002044/0.002044, allocations: 186 kB / 22.21 MB, free: 116 kB / 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.429/1.429, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.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.SuperSampled,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.SuperSampled") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,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.SuperSampled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 51.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3115, allocations: 52.13 MB / 420.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003879/0.3154, allocations: 2.36 MB / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3168, allocations: 0.7872 MB / 424 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.317, allocations: 7.938 kB / 424 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.3172, allocations: 47.56 kB / 424 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.3174, allocations: 55.56 kB / 424.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.3178, allocations: 179.6 kB / 424.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.3183, allocations: 375.6 kB / 424.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.3184, allocations: 67.39 kB / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.3186, allocations: 159.4 kB / 424.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.3189, allocations: 179.3 kB / 425 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.3189, allocations: 32 kB / 425.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.854e-05/0.319, allocations: 32 kB / 425.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.3191, allocations: 103.7 kB / 425.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.3192, allocations: 135.3 kB / 425.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.3197, allocations: 339.8 kB / 425.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3197, allocations: 0 / 425.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3197, allocations: 4 kB / 425.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.3197, allocations: 0 / 425.7 MB, free: 10.29 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001345/0.321, allocations: 0.612 MB / 426.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3211, allocations: 11.89 kB / 426.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.3212, allocations: 40.75 kB / 426.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.3217, allocations: 276.4 kB / 426.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.3219, allocations: 138.2 kB / 426.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.322, allocations: 24.38 kB / 426.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.3231, allocations: 0.5527 MB / 427.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3231, allocations: 0 / 427.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.3231, allocations: 15.94 kB / 427.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3232, allocations: 8 kB / 427.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.3244, allocations: 0.5152 MB / 427.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.326, allocations: 1.006 MB / 428.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.3275, allocations: 482.5 kB / 429.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/0.3281, allocations: 239.4 kB / 429.6 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.3281, allocations: 7.938 kB / 429.6 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.3282, allocations: 38.56 kB / 429.6 MB, free: 6.086 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.763e-06/0.3282, allocations: 0 / 429.6 MB, free: 6.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.03745/0.3656, allocations: 5.722 MB / 435.3 MB, free: 364 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.3657, allocations: 152.9 kB / 435.5 MB, free: 180 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.366, allocations: 204.2 kB / 435.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/0.3661, allocations: 41.7 kB / 435.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.971e-05/0.3662, allocations: 141.7 kB / 435.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.3664, allocations: 194.4 kB / 436 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.3667, allocations: 114.6 kB / 436.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3668, allocations: 347.2 kB / 436.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.3684, allocations: 0.6149 MB / 437.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.37, allocations: 0.8002 MB / 437.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.373, allocations: 1.24 MB / 439.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.373, allocations: 11.88 kB / 439.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003489/0.3765, allocations: 1.394 MB / 440.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3765, allocations: 8 kB / 440.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3765, allocations: 4.312 kB / 440.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.3766, allocations: 12 kB / 440.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.3779, allocations: 211.8 kB / 440.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.3779, allocations: 11.98 kB / 440.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/0.3788, allocations: 95.78 kB / 440.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.254e-05/0.3789, allocations: 39.97 kB / 440.9 MB, free: 10.52 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.0003327/0.3792, allocations: 189.5 kB / 441.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.3796, allocations: 153.4 kB / 441.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.3797, allocations: 67.3 kB / 441.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.3797, allocations: 8 kB / 441.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.3797, allocations: 0 / 441.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3797, allocations: 3.984 kB / 441.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004715/0.3845, allocations: 2.168 MB / 443.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.3845, allocations: 8.219 kB / 443.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/0.3852, allocations: 187.7 kB / 443.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.3852, allocations: 16 kB / 443.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.3853, allocations: 24 kB / 443.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.599e-05/0.3853, allocations: 19.92 kB / 443.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/0.3853, allocations: 15.94 kB / 443.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.3884, allocations: 1.561 MB / 445.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.3886, allocations: 160.8 kB / 445.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.3887, allocations: 31.98 kB / 445.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/0.3893, allocations: 79.98 kB / 445.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.3895, allocations: 103.8 kB / 445.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/0.3895, allocations: 28 kB / 445.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.3897, allocations: 147.1 kB / 445.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3897, allocations: 0 / 445.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006613/0.3903, allocations: 120 kB / 446 MB, free: 5.078 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.0001664/0.3905, allocations: 135 kB / 446.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.3932, allocations: 1.026 MB / 447.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3932, allocations: 448 / 447.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009676/0.3941, allocations: 337.8 kB / 447.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008504/0.395, allocations: 128.1 kB / 447.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.3974, allocations: 1.177 MB / 448.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.3978, allocations: 0.809 MB / 449.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.3983, allocations: 103.3 kB / 449.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.3986, allocations: 39.44 kB / 449.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3986, allocations: 0 / 449.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Templates: time 0.01523/0.4138, allocations: 8.642 MB / 458.4 MB, free: 8.516 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.847978951409459]