Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 103.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001142, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 57.97 kB / 306.3 MB, free: 0.9844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.09093, allocations: 50.53 MB / 356.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003536/0.0945, allocations: 2.374 MB / 359.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.09594, allocations: 0.8067 MB / 360.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.09617, allocations: 7.938 kB / 360.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.09645, allocations: 35.77 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.09667, allocations: 47.69 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.0972, allocations: 147.8 kB / 360.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.09758, allocations: 355.6 kB / 360.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.09778, allocations: 91.23 kB / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.09806, allocations: 143.5 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.0983, allocations: 171.3 kB / 361 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.09837, allocations: 23.94 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.8e-05/0.09842, allocations: 20 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.08e-05/0.09852, allocations: 79.72 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.09865, allocations: 135.3 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.09892, allocations: 307.2 kB / 361.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.09893, allocations: 0 / 361.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09894, allocations: 0 / 361.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.09895, allocations: 0 / 361.6 MB, free: 9.715 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.001142/0.1001, allocations: 0.6106 MB / 362.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1001, allocations: 12.03 kB / 362.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.123e-05/0.1002, allocations: 70.72 kB / 362.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.1003, allocations: 36.56 kB / 362.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1006, allocations: 272.3 kB / 362.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.1008, allocations: 134.2 kB / 362.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.1009, allocations: 32.38 kB / 362.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.1019, allocations: 0.5451 MB / 363.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.102, allocations: 3.984 kB / 363.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/0.102, allocations: 15.94 kB / 363.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.102, allocations: 8 kB / 363.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.1033, allocations: 0.5074 MB / 363.8 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.1047, allocations: 1.006 MB / 364.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.1062, allocations: 0.5102 MB / 365.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005566/0.1067, allocations: 255 kB / 365.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.1068, allocations: 15.92 kB / 365.6 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1068, allocations: 42.56 kB / 365.6 MB, free: 5.391 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.883e-06/0.1068, allocations: 0 / 365.6 MB, free: 5.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.1978/0.3046, allocations: 5.715 MB / 371.4 MB, free: 20.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/0.3047, allocations: 154.6 kB / 371.5 MB, free: 20.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.3049, allocations: 192.2 kB / 371.7 MB, free: 20.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/0.305, allocations: 38.67 kB / 371.7 MB, free: 20.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.3051, allocations: 137.8 kB / 371.9 MB, free: 20.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.3053, allocations: 197.5 kB / 372.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.3056, allocations: 111 kB / 372.2 MB, free: 20.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.3056, allocations: 341.5 kB / 372.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.3071, allocations: 0.614 MB / 373.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.3086, allocations: 0.7993 MB / 373.9 MB, free: 19.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/0.3114, allocations: 1.251 MB / 375.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3114, allocations: 2.938 kB / 375.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003097/0.3145, allocations: 1.394 MB / 376.6 MB, free: 18.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.3145, allocations: 8.016 kB / 376.6 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3145, allocations: 6.219 kB / 376.6 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.3146, allocations: 12.84 kB / 376.6 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.3159, allocations: 214.3 kB / 376.8 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.3159, allocations: 9.438 kB / 376.8 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008766/0.3168, allocations: 102 kB / 376.9 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.3169, allocations: 27.3 kB / 376.9 MB, free: 18.34 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.0002716/0.3172, allocations: 187.3 kB / 377.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.3175, allocations: 153.6 kB / 377.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.3176, allocations: 62.95 kB / 377.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.3176, allocations: 8.953 kB / 377.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.3176, allocations: 3.062 kB / 377.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.3177, allocations: 4.391 kB / 377.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004246/0.3219, allocations: 2.167 MB / 379.5 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.3219, allocations: 9.562 kB / 379.5 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/0.3226, allocations: 187 kB / 379.7 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/0.3227, allocations: 17.75 kB / 379.7 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.3227, allocations: 28.09 kB / 379.8 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.399e-05/0.3227, allocations: 19.22 kB / 379.8 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/0.3227, allocations: 16.88 kB / 379.8 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.3254, allocations: 1.556 MB / 381.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.3256, allocations: 164.7 kB / 381.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/0.3257, allocations: 25.8 kB / 381.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005477/0.3262, allocations: 78.38 kB / 381.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.3265, allocations: 99.67 kB / 381.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.3265, allocations: 34.62 kB / 381.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3266, allocations: 148.7 kB / 381.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3266, allocations: 1.781 kB / 381.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007098/0.3274, allocations: 117.3 kB / 382 MB, free: 15.6 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.00291/0.3303, allocations: 2.117 MB / 384.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002543/0.3328, allocations: 1.115 MB / 385.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.3328, allocations: 1 kB / 385.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000872/0.3337, allocations: 344.7 kB / 385.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/0.3346, allocations: 138 kB / 385.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.3452, allocations: 6.902 MB / 392.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3454, allocations: 0.816 MB / 393.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005734/0.346, allocations: 97.81 kB / 393.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/0.3464, allocations: 120.3 kB / 393.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3464, allocations: 7.938 kB / 393.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.3656, allocations: 10.47 MB / 404.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.3658, allocations: 221.7 kB / 404.3 MB, free: 15.51 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.282, allocations: 2.812 kB / 404.3 MB, free: 15.51 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled.fmu > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches