Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.AbsoluteClocks,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_AbsoluteClocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_AbsoluteClocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.4 MB, free: 9.133 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 61.19 kB / 306.5 MB, free: 0.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1022, allocations: 50.53 MB / 357.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004111/0.1064, allocations: 2.436 MB / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1085, allocations: 0.8534 MB / 360.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.1088, allocations: 11.94 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1091, allocations: 39.7 kB / 360.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.1094, allocations: 55.67 kB / 360.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000728/0.1102, allocations: 179.7 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.1107, allocations: 395.5 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.1109, allocations: 103.4 kB / 361.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.1113, allocations: 171.4 kB / 361.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.1116, allocations: 187.2 kB / 361.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.1117, allocations: 32 kB / 361.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.202e-05/0.1117, allocations: 36 kB / 361.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1118, allocations: 115.6 kB / 361.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.112, allocations: 163.1 kB / 361.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.1125, allocations: 363 kB / 362.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1125, allocations: 0 / 362.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1125, allocations: 0 / 362.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.1125, allocations: 0 / 362.2 MB, free: 8.973 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00131/0.1138, allocations: 0.6665 MB / 362.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1139, allocations: 12.03 kB / 362.9 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.878e-05/0.1139, allocations: 70.72 kB / 362.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.114, allocations: 44.47 kB / 363 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.1144, allocations: 299.1 kB / 363.3 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.1147, allocations: 146.3 kB / 363.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.1147, allocations: 28.38 kB / 363.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.116, allocations: 0.5676 MB / 364 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.1161, allocations: 4 kB / 364 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.1161, allocations: 8 kB / 364 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1161, allocations: 11.94 kB / 364 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.1179, allocations: 0.5152 MB / 364.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.12, allocations: 1.021 MB / 365.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.1221, allocations: 0.5024 MB / 366.1 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008256/0.1229, allocations: 267.3 kB / 366.3 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.832e-05/0.123, allocations: 8 kB / 366.3 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.1231, allocations: 34.56 kB / 366.4 MB, free: 4.508 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.625e-06/0.1231, allocations: 7.938 kB / 366.4 MB, free: 4.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.1962/0.3193, allocations: 5.764 MB / 372.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.3194, allocations: 150.5 kB / 372.3 MB, free: 20.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.3197, allocations: 259.6 kB / 372.5 MB, free: 20.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.014e-05/0.3197, allocations: 39.14 kB / 372.6 MB, free: 20.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.3198, allocations: 149 kB / 372.7 MB, free: 20.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.32, allocations: 194.9 kB / 372.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.3202, allocations: 116.7 kB / 373 MB, free: 20.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.3203, allocations: 345.5 kB / 373.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.3218, allocations: 0.6172 MB / 374 MB, free: 19.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.3232, allocations: 0.797 MB / 374.8 MB, free: 19.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.3259, allocations: 1.249 MB / 376 MB, free: 18.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3259, allocations: 1.375 kB / 376 MB, free: 18.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003197/0.3291, allocations: 1.402 MB / 377.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.3291, allocations: 6.906 kB / 377.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3292, allocations: 10.25 kB / 377.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.3292, allocations: 13.44 kB / 377.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.3306, allocations: 204.2 kB / 377.7 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.809e-05/0.3306, allocations: 15.25 kB / 377.7 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/0.3316, allocations: 102.1 kB / 377.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/0.3317, allocations: 26.95 kB / 377.8 MB, free: 17.76 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.0002968/0.332, allocations: 198.4 kB / 378 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.3323, allocations: 155.7 kB / 378.1 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.3324, allocations: 69.52 kB / 378.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.3325, allocations: 8.641 kB / 378.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.3325, allocations: 2.594 kB / 378.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.3325, allocations: 4.766 kB / 378.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004396/0.3369, allocations: 2.189 MB / 380.4 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.3369, allocations: 10.95 kB / 380.4 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007711/0.3377, allocations: 182 kB / 380.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.3377, allocations: 14.23 kB / 380.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.3378, allocations: 23.8 kB / 380.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.454e-05/0.3378, allocations: 20.19 kB / 380.7 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/0.3378, allocations: 20.09 kB / 380.7 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/0.3408, allocations: 1.557 MB / 382.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.3409, allocations: 179.2 kB / 382.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.341, allocations: 30.02 kB / 382.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.3416, allocations: 81.64 kB / 382.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.3418, allocations: 98.77 kB / 382.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.3419, allocations: 35.03 kB / 382.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.342, allocations: 185.5 kB / 382.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.342, allocations: 1.188 kB / 382.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006237/0.3427, allocations: 123.4 kB / 383 MB, free: 14.97 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.002993/0.3457, allocations: 2.136 MB / 385.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.3483, allocations: 1.147 MB / 386.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3483, allocations: 5.125 kB / 386.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009682/0.3493, allocations: 341.5 kB / 386.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008821/0.3502, allocations: 152.1 kB / 386.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.3615, allocations: 7.066 MB / 393.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3618, allocations: 0.8313 MB / 394.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005951/0.3624, allocations: 96.27 kB / 394.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.3628, allocations: 125.2 kB / 394.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3628, allocations: 0 / 394.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08236/0.4451, allocations: 11.31 MB / 406.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.4454, allocations: 224.1 kB / 406.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.652, allocations: 0 / 406.4 MB, free: 13.32 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_AbsoluteClocks_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_AbsoluteClocks.fmu > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches