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.0008979/0.000898, allocations: 93.45 kB / 16.65 MB, free: 6.535 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.001119/0.001119, allocations: 175.9 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004434, allocations: 8 kB / 301.5 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1576, allocations: 50.4 MB / 351.9 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004508/0.1622, allocations: 2.002 MB / 353.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.1648, allocations: 0.7522 MB / 354.7 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004413/0.1653, allocations: 4 kB / 354.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.1658, allocations: 47.7 kB / 354.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1661, allocations: 39.75 kB / 354.8 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.1669, allocations: 147.8 kB / 354.9 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000526/0.1674, allocations: 355.6 kB / 355.3 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.1678, allocations: 87.12 kB / 355.4 MB, free: 196 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.1681, allocations: 135.4 kB / 355.5 MB, free: 60 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.1684, allocations: 151.4 kB / 355.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.1685, allocations: 19.94 kB / 355.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.054e-05/0.1685, allocations: 16 kB / 355.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1687, allocations: 75.7 kB / 355.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.1689, allocations: 149 kB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.1693, allocations: 303.2 kB / 356.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.1694, allocations: 7.938 kB / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.1694, allocations: 0 / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1694, allocations: 0 / 356.2 MB, free: 15.34 MB / 302.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.001551/0.1709, allocations: 0.5694 MB / 356.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.604e-05/0.171, allocations: 16.02 kB / 356.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.1712, allocations: 66.73 kB / 356.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.1713, allocations: 40.56 kB / 356.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.1718, allocations: 264.4 kB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.1721, allocations: 146.1 kB / 357.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/0.1722, allocations: 32.38 kB / 357.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.1736, allocations: 0.5685 MB / 357.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1736, allocations: 0 / 357.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.1736, allocations: 16 kB / 357.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1737, allocations: 8 kB / 357.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.1752, allocations: 0.5347 MB / 358.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.177, allocations: 1.014 MB / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.1789, allocations: 0.518 MB / 360 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007228/0.1796, allocations: 271.4 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.807e-05/0.1797, allocations: 16.12 kB / 360.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.1798, allocations: 38.5 kB / 360.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.865e-06/0.1798, allocations: 4 kB / 360.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.04164/0.2214, allocations: 6.744 MB / 367 MB, free: 4.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002244/0.2217, allocations: 148.9 kB / 367.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.2219, allocations: 199.5 kB / 367.4 MB, free: 3.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.855e-05/0.222, allocations: 33.7 kB / 367.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.2222, allocations: 149.5 kB / 367.6 MB, free: 3.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.2224, allocations: 185.4 kB / 367.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.2226, allocations: 61.61 kB / 367.8 MB, free: 3.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.2228, allocations: 338.8 kB / 368.1 MB, free: 3.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.2245, allocations: 0.6578 MB / 368.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.2264, allocations: 0.8354 MB / 369.6 MB, free: 1.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/0.2298, allocations: 1.322 MB / 370.9 MB, free: 84 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.2298, allocations: 3.938 kB / 370.9 MB, free: 80 kB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.1982/0.428, allocations: 1.468 MB / 372.4 MB, free: 25.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.4281, allocations: 7.656 kB / 372.4 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.4281, allocations: 9.031 kB / 372.4 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/0.4281, allocations: 9.875 kB / 372.4 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.4295, allocations: 232.4 kB / 372.7 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.4296, allocations: 14.42 kB / 372.7 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/0.4305, allocations: 119.2 kB / 372.8 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/0.4306, allocations: 29.47 kB / 372.8 MB, free: 25.16 MB / 302.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.0003098/0.4309, allocations: 187.8 kB / 373 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.4312, allocations: 153.7 kB / 373.2 MB, free: 25.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.4314, allocations: 62.75 kB / 373.2 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4314, allocations: 7.938 kB / 373.2 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.4315, allocations: 1.031 kB / 373.2 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.4315, allocations: 4.5 kB / 373.2 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/0.4368, allocations: 2.294 MB / 375.5 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.4369, allocations: 10.45 kB / 375.5 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000808/0.4377, allocations: 205.5 kB / 375.7 MB, free: 24.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-05/0.4377, allocations: 15.92 kB / 375.8 MB, free: 24.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.4378, allocations: 24.8 kB / 375.8 MB, free: 24.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.196e-05/0.4378, allocations: 24.11 kB / 375.8 MB, free: 24.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/0.4378, allocations: 14.94 kB / 375.8 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/0.4411, allocations: 1.665 MB / 377.5 MB, free: 23.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.4413, allocations: 159.7 kB / 377.6 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.4414, allocations: 26.91 kB / 377.7 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.4421, allocations: 105.2 kB / 377.8 MB, free: 23.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.4423, allocations: 95.7 kB / 377.9 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/0.4424, allocations: 30.12 kB / 377.9 MB, free: 23.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.4425, allocations: 141 kB / 378 MB, free: 23.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4425, allocations: 0 / 378 MB, free: 23.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007092/0.4432, allocations: 121.5 kB / 378.1 MB, free: 23.09 MB / 302.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.003618/0.4468, allocations: 2.242 MB / 380.4 MB, free: 21.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003082/0.4499, allocations: 1.2 MB / 381.6 MB, free: 21.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.45, allocations: 5.594 kB / 381.6 MB, free: 21.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.451, allocations: 376 kB / 382 MB, free: 21.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.4521, allocations: 142.1 kB / 382.1 MB, free: 21.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.4656, allocations: 7.156 MB / 389.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.4659, allocations: 0.8207 MB / 390.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005674/0.4665, allocations: 90.3 kB / 390.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.4668, allocations: 119.5 kB / 390.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4668, allocations: 0 / 390.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.4907, allocations: 10.33 MB / 400.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.491, allocations: 217.1 kB / 400.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/2.937, allocations: 0 / 400.8 MB, free: 7.039 MB / 302.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