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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002142/0.002142, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 64.03 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1018, allocations: 53.32 MB / 426.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004037/0.1059, allocations: 2.348 MB / 429 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1076, allocations: 0.8066 MB / 429.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.1078, allocations: 8 kB / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1081, allocations: 47.58 kB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.1084, allocations: 67.48 kB / 429.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.1089, allocations: 159.7 kB / 430.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.1094, allocations: 371.6 kB / 430.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.1095, allocations: 67.41 kB / 430.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.1099, allocations: 179.4 kB / 430.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.1101, allocations: 175.3 kB / 430.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.1102, allocations: 35.94 kB / 430.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-05/0.1102, allocations: 36 kB / 430.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1103, allocations: 99.64 kB / 431 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.1105, allocations: 139.3 kB / 431.2 MB, free: 492 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.1109, allocations: 326.6 kB / 431.5 MB, free: 164 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1109, allocations: 0 / 431.5 MB, free: 164 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1109, allocations: 0 / 431.5 MB, free: 164 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1109, allocations: 4 kB / 431.5 MB, free: 160 kB / 350.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.1781/0.289, allocations: 0.6111 MB / 432.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.289, allocations: 10.91 kB / 432.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.827e-05/0.2891, allocations: 72.09 kB / 432.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.2892, allocations: 39.31 kB / 432.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.2896, allocations: 265.7 kB / 432.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.2898, allocations: 141.3 kB / 432.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.2898, allocations: 32.91 kB / 432.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2909, allocations: 0.5385 MB / 433.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.2909, allocations: 2.094 kB / 433.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.291, allocations: 13.69 kB / 433.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.291, allocations: 10.94 kB / 433.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.2921, allocations: 0.5054 MB / 433.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.2934, allocations: 1.021 MB / 434.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.2947, allocations: 473.7 kB / 435.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/0.2953, allocations: 244.9 kB / 435.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.2953, allocations: 5.203 kB / 435.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.2953, allocations: 43.09 kB / 435.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.234e-06/0.2953, allocations: 1.125 kB / 435.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03594/0.3313, allocations: 5.718 MB / 441.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.3313, allocations: 148.7 kB / 441.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3315, allocations: 200.3 kB / 441.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.3316, allocations: 36.98 kB / 441.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.3317, allocations: 142.4 kB / 441.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.3318, allocations: 201.3 kB / 441.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.3321, allocations: 113.9 kB / 442 MB, free: 8.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.63e-05/0.3321, allocations: 348.5 kB / 442.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.3335, allocations: 0.6124 MB / 443 MB, free: 7.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.335, allocations: 0.7993 MB / 443.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/0.3376, allocations: 1.244 MB / 445 MB, free: 6.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3376, allocations: 6.438 kB / 445 MB, free: 6.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003208/0.3408, allocations: 1.397 MB / 446.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.3408, allocations: 7.5 kB / 446.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.3409, allocations: 6.688 kB / 446.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/0.3409, allocations: 8.281 kB / 446.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.3422, allocations: 206.4 kB / 446.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.3422, allocations: 14.42 kB / 446.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/0.3432, allocations: 102.3 kB / 446.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.615e-05/0.3433, allocations: 26.81 kB / 446.8 MB, free: 6.176 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.0003712/0.3437, allocations: 183.2 kB / 447 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003828/0.3441, allocations: 158.4 kB / 447.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.3442, allocations: 64.08 kB / 447.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3442, allocations: 8.688 kB / 447.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.3442, allocations: 6.25 kB / 447.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3442, allocations: 4.844 kB / 447.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004455/0.3487, allocations: 2.173 MB / 449.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.3487, allocations: 10.41 kB / 449.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/0.3494, allocations: 188.2 kB / 449.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-05/0.3494, allocations: 13.59 kB / 449.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.3495, allocations: 31.97 kB / 449.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.719e-05/0.3495, allocations: 17.97 kB / 449.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/0.3495, allocations: 16.03 kB / 449.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.3522, allocations: 1.552 MB / 451.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.3524, allocations: 167.2 kB / 451.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.3524, allocations: 27.48 kB / 451.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.353, allocations: 77.72 kB / 451.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.3531, allocations: 101.6 kB / 451.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/0.3532, allocations: 30.5 kB / 451.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.3533, allocations: 141.3 kB / 451.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3533, allocations: 4 kB / 451.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007092/0.354, allocations: 121.8 kB / 451.9 MB, free: 2.984 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.002985/0.357, allocations: 2.13 MB / 454 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.3596, allocations: 1.032 MB / 455 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.3596, allocations: 1.406 kB / 455 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009056/0.3605, allocations: 334.3 kB / 455.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.3614, allocations: 138.6 kB / 455.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.3744, allocations: 6.771 MB / 462.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.3748, allocations: 0.8139 MB / 463.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005197/0.3754, allocations: 100.1 kB / 463.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.3757, allocations: 111.8 kB / 463.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3757, allocations: 1.312 kB / 463.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03784/0.4136, allocations: 11.28 MB / 474.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.572, allocations: 11.78 kB / 474.6 MB, free: 1.309 MB / 366.1 MB " [Timeout remaining time 651] (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 --stepSize=0.000499563 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled.fmu > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.130450735799968]