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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 109.9 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002667/0.002667, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.34/2.34, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 43.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3489, allocations: 49.44 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004377/0.3534, allocations: 2.317 MB / 402.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.3551, allocations: 0.7715 MB / 403.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.3553, allocations: 4 kB / 403.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.3556, allocations: 55.56 kB / 403.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.3558, allocations: 59.55 kB / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.3563, allocations: 165.9 kB / 403.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.3567, allocations: 375.6 kB / 404 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.357, allocations: 87.39 kB / 404 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.3572, allocations: 163.4 kB / 404.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.3575, allocations: 175.3 kB / 404.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.3575, allocations: 32 kB / 404.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.052e-05/0.3576, allocations: 32 kB / 404.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3577, allocations: 95.77 kB / 404.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3579, allocations: 139.2 kB / 404.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.3583, allocations: 328.6 kB / 405 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.3583, allocations: 0 / 405 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3583, allocations: 7.938 kB / 405 MB, free: 4.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.3583, allocations: 0 / 405 MB, free: 4.016 MB / 318.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.001234/0.3596, allocations: 0.6123 MB / 405.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3596, allocations: 8.031 kB / 405.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.139e-05/0.3597, allocations: 66.73 kB / 405.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.379e-05/0.3598, allocations: 32.66 kB / 405.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.3602, allocations: 272.3 kB / 406 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.3604, allocations: 138.2 kB / 406.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.3605, allocations: 32.28 kB / 406.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.3616, allocations: 0.5507 MB / 406.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.3617, allocations: 0 / 406.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.3617, allocations: 12 kB / 406.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.3617, allocations: 4 kB / 406.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.363, allocations: 0.519 MB / 407.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.3648, allocations: 1.01 MB / 408.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.3664, allocations: 0.4985 MB / 408.7 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.367, allocations: 267.4 kB / 409 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.952e-05/0.3671, allocations: 12.06 kB / 409 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3672, allocations: 38.56 kB / 409.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.925e-06/0.3672, allocations: 0 / 409.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.0405/0.4077, allocations: 5.717 MB / 414.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.4078, allocations: 149 kB / 414.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.4081, allocations: 199.1 kB / 415.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.382e-05/0.4082, allocations: 37.64 kB / 415.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4083, allocations: 145.5 kB / 415.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.4086, allocations: 189.3 kB / 415.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/0.4089, allocations: 110.7 kB / 415.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4091, allocations: 342.8 kB / 415.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.4106, allocations: 0.6188 MB / 416.5 MB, free: 8.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.4124, allocations: 0.7886 MB / 417.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.4154, allocations: 1.255 MB / 418.6 MB, free: 5.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4155, allocations: 3.938 kB / 418.6 MB, free: 5.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00357/0.419, allocations: 1.39 MB / 420 MB, free: 4.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.4191, allocations: 11.94 kB / 420 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.4191, allocations: 4 kB / 420 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/0.4192, allocations: 15.98 kB / 420 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.4207, allocations: 215.7 kB / 420.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.4207, allocations: 8 kB / 420.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.4218, allocations: 95.73 kB / 420.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/0.4219, allocations: 31.98 kB / 420.3 MB, free: 4.145 MB / 334.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.0003889/0.4223, allocations: 189.5 kB / 420.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/0.4226, allocations: 153.1 kB / 420.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.4229, allocations: 63.31 kB / 420.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.4229, allocations: 8 kB / 420.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.4229, allocations: 0 / 420.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.4229, allocations: 4.688 kB / 420.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.4282, allocations: 2.175 MB / 422.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/0.4283, allocations: 12 kB / 422.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/0.4292, allocations: 183.8 kB / 423.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-05/0.4292, allocations: 12 kB / 423.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.4293, allocations: 27.98 kB / 423.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-05/0.4293, allocations: 19.94 kB / 423.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/0.4293, allocations: 19.94 kB / 423.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.4326, allocations: 1.553 MB / 424.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.4329, allocations: 160.6 kB / 424.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.433, allocations: 31.98 kB / 424.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/0.4336, allocations: 75.98 kB / 425 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.4338, allocations: 95.66 kB / 425.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.4339, allocations: 31.94 kB / 425.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.434, allocations: 140.3 kB / 425.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4341, allocations: 4 kB / 425.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008132/0.4349, allocations: 120 kB / 425.4 MB, free: 14.72 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.003629/0.4385, allocations: 2.128 MB / 427.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002896/0.4414, allocations: 1.135 MB / 428.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.4415, allocations: 5.375 kB / 428.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009869/0.4424, allocations: 345.8 kB / 429 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4435, allocations: 132.7 kB / 429.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.4572, allocations: 6.776 MB / 435.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.4578, allocations: 0.8129 MB / 436.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005512/0.4583, allocations: 91.31 kB / 436.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/0.4588, allocations: 115.4 kB / 436.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of SimCode: time 2.695e-06/0.4588, allocations: 0 / 436.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04115/0.4999, allocations: 11.54 MB / 448.5 MB, free: 7.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.8, allocations: 8.5 kB / 448.5 MB, free: 7.09 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches