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.0007926/0.0007926, allocations: 96.81 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008844/0.0008845, allocations: 201 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002218/0.0002219, allocations: 11.92 kB / 307.8 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08675/0.08699, allocations: 51.52 MB / 359.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.002437/0.08946, allocations: 2.062 MB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.09091, allocations: 0.8457 MB / 362.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.09112, allocations: 7.938 kB / 362.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.09138, allocations: 43.7 kB / 362.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.09161, allocations: 59.67 kB / 362.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.09217, allocations: 171.8 kB / 362.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.09255, allocations: 375.4 kB / 362.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.09274, allocations: 95.28 kB / 363 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.093, allocations: 143.4 kB / 363.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.09323, allocations: 163.3 kB / 363.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.09329, allocations: 19.98 kB / 363.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.111e-05/0.09333, allocations: 16 kB / 363.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.09344, allocations: 91.7 kB / 363.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.09358, allocations: 168.8 kB / 363.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.09386, allocations: 338.9 kB / 363.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.09387, allocations: 4 kB / 363.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09388, allocations: 0 / 363.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.09389, allocations: 0 / 363.9 MB, free: 8.613 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.001067/0.09497, allocations: 0.6237 MB / 364.5 MB, free: 7.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.09501, allocations: 12.03 kB / 364.6 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.92e-05/0.0951, allocations: 66.73 kB / 364.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.09518, allocations: 48.47 kB / 364.7 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.09551, allocations: 299.1 kB / 365 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.09572, allocations: 146.3 kB / 365.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.09579, allocations: 28.38 kB / 365.1 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.09691, allocations: 0.5871 MB / 365.7 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.09694, allocations: 0 / 365.7 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.09698, allocations: 12 kB / 365.7 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.09699, allocations: 4 kB / 365.7 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.09832, allocations: 0.5347 MB / 366.3 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.09971, allocations: 1.045 MB / 367.3 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.1012, allocations: 0.5219 MB / 367.8 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.1019, allocations: 275.3 kB / 368.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.1019, allocations: 12 kB / 368.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.102, allocations: 38.56 kB / 368.2 MB, free: 4.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.492e-06/0.102, allocations: 0 / 368.2 MB, free: 4.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.1902/0.2922, allocations: 6.798 MB / 375 MB, free: 19.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.2923, allocations: 147.2 kB / 375.1 MB, free: 19.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.2926, allocations: 257.6 kB / 375.3 MB, free: 19.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.39e-05/0.2927, allocations: 37.2 kB / 375.4 MB, free: 19.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.2928, allocations: 156.3 kB / 375.5 MB, free: 19.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.293, allocations: 192.7 kB / 375.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2931, allocations: 57.25 kB / 375.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.2932, allocations: 349.5 kB / 376.1 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.2948, allocations: 0.6597 MB / 376.8 MB, free: 18.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.2964, allocations: 0.8338 MB / 377.6 MB, free: 18.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00297/0.2994, allocations: 1.324 MB / 378.9 MB, free: 17.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.2994, allocations: 4.875 kB / 378.9 MB, free: 17.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003521/0.303, allocations: 1.47 MB / 380.4 MB, free: 17.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.303, allocations: 7.156 kB / 380.4 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.303, allocations: 6.141 kB / 380.4 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.3031, allocations: 13 kB / 380.4 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.3045, allocations: 231 kB / 380.7 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.3045, allocations: 14.83 kB / 380.7 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.3055, allocations: 117.7 kB / 380.8 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.3056, allocations: 29.97 kB / 380.8 MB, free: 17.19 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.0003245/0.3059, allocations: 200.9 kB / 381 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.3063, allocations: 157 kB / 381.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.3064, allocations: 67.66 kB / 381.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.3065, allocations: 8.234 kB / 381.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.3065, allocations: 1.875 kB / 381.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.016e-06/0.3065, allocations: 5.172 kB / 381.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.3113, allocations: 2.315 MB / 383.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.3114, allocations: 9.812 kB / 383.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.3121, allocations: 202.9 kB / 383.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/0.3121, allocations: 14.16 kB / 383.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/0.3122, allocations: 28.44 kB / 383.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-05/0.3122, allocations: 19.8 kB / 383.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.3122, allocations: 15.69 kB / 383.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003114/0.3154, allocations: 1.679 MB / 385.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.3156, allocations: 184.2 kB / 385.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.3157, allocations: 25.72 kB / 385.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.3163, allocations: 99.59 kB / 385.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.3165, allocations: 99.59 kB / 385.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.3165, allocations: 35.66 kB / 386 MB, free: 14.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.3167, allocations: 187.1 kB / 386.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3167, allocations: 0 / 386.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006806/0.3174, allocations: 123.3 kB / 386.3 MB, free: 14.35 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.003275/0.3207, allocations: 2.237 MB / 388.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002701/0.3234, allocations: 1.197 MB / 389.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.3234, allocations: 5.438 kB / 389.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009774/0.3244, allocations: 379.5 kB / 390.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.3255, allocations: 163.3 kB / 390.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.3373, allocations: 7.288 MB / 397.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.3376, allocations: 0.8368 MB / 398.4 MB, free: 5.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005656/0.3382, allocations: 96.11 kB / 398.5 MB, free: 5.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.3385, allocations: 119.4 kB / 398.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of SimCode: time 1.704e-06/0.3385, allocations: 0 / 398.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.3605, allocations: 10.73 MB / 409.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.3607, allocations: 223.3 kB / 409.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.295, allocations: 3.234 kB / 409.5 MB, free: 10.7 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