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: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001825/0.001825, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001888, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.34 kB / 306.9 MB, free: 1.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1089, allocations: 50.53 MB / 357.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004579/0.1135, allocations: 2.37 MB / 359.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1154, allocations: 0.8028 MB / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.1158, allocations: 7.938 kB / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.1163, allocations: 43.77 kB / 360.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.1166, allocations: 47.69 kB / 360.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.1172, allocations: 147.8 kB / 360.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.1177, allocations: 347.6 kB / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.118, allocations: 95.22 kB / 361.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.1183, allocations: 139.5 kB / 361.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.1187, allocations: 175.2 kB / 361.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.559e-05/0.1188, allocations: 20 kB / 361.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.416e-05/0.1188, allocations: 20 kB / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.119, allocations: 83.7 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.1191, allocations: 131.3 kB / 361.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1194, allocations: 235.7 kB / 362.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1194, allocations: 0 / 362.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1194, allocations: 0 / 362.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1195, allocations: 0 / 362.1 MB, free: 9.828 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.001476/0.1209, allocations: 0.6123 MB / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.121, allocations: 16.03 kB / 362.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.1211, allocations: 36.56 kB / 362.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.1215, allocations: 271.8 kB / 363 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.1218, allocations: 134.2 kB / 363.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.1218, allocations: 28.31 kB / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.1231, allocations: 0.5491 MB / 363.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1232, allocations: 0 / 363.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.1232, allocations: 12 kB / 363.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.1232, allocations: 12 kB / 363.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.1246, allocations: 0.5113 MB / 364.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.1263, allocations: 0.9979 MB / 365.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.1279, allocations: 0.4985 MB / 365.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.1285, allocations: 270.7 kB / 366 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.1286, allocations: 12.09 kB / 366 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1286, allocations: 42.55 kB / 366 MB, free: 5.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 3.467e-06/0.1286, allocations: 0 / 366 MB, free: 5.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.2793/0.408, allocations: 5.713 MB / 371.8 MB, free: 20.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.4082, allocations: 145.7 kB / 371.9 MB, free: 20.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.4087, allocations: 194.8 kB / 372.1 MB, free: 20.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002054/0.4089, allocations: 38.67 kB / 372.1 MB, free: 20.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.4091, allocations: 141.8 kB / 372.3 MB, free: 20.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.4094, allocations: 197 kB / 372.5 MB, free: 20.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004638/0.4099, allocations: 109.1 kB / 372.6 MB, free: 20.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4101, allocations: 343.8 kB / 372.9 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.4119, allocations: 0.6131 MB / 373.5 MB, free: 19.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.4139, allocations: 0.8014 MB / 374.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003485/0.4174, allocations: 1.252 MB / 375.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/0.4175, allocations: 1.219 kB / 375.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003941/0.4214, allocations: 1.394 MB / 377 MB, free: 18.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.4215, allocations: 8.188 kB / 377 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.4215, allocations: 5.938 kB / 377 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.597e-05/0.4216, allocations: 11.31 kB / 377 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.4232, allocations: 210.1 kB / 377.2 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.865e-05/0.4232, allocations: 14.06 kB / 377.2 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.4243, allocations: 105.7 kB / 377.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.4245, allocations: 26.14 kB / 377.3 MB, free: 18.3 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.0004475/0.4249, allocations: 188.9 kB / 377.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/0.4254, allocations: 155.9 kB / 377.7 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.4256, allocations: 64.17 kB / 377.7 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.4256, allocations: 11.69 kB / 377.7 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.96e-05/0.4256, allocations: 1.25 kB / 377.8 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.4256, allocations: 4.844 kB / 377.8 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006035/0.4317, allocations: 2.161 MB / 379.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.4317, allocations: 10.72 kB / 379.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008898/0.4326, allocations: 184.3 kB / 380.1 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.938e-05/0.4327, allocations: 17.53 kB / 380.1 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/0.4328, allocations: 28.33 kB / 380.2 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.772e-05/0.4328, allocations: 20.08 kB / 380.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-05/0.4328, allocations: 16.91 kB / 380.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.4362, allocations: 1.564 MB / 381.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.4365, allocations: 159.1 kB / 381.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.771e-05/0.4366, allocations: 31.7 kB / 381.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/0.4372, allocations: 76.91 kB / 382 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.4375, allocations: 94.88 kB / 382.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.4376, allocations: 29.89 kB / 382.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.4378, allocations: 150.1 kB / 382.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4378, allocations: 0 / 382.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008537/0.4386, allocations: 121.6 kB / 382.4 MB, free: 15.55 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.0001967/0.4388, allocations: 140.5 kB / 382.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00311/0.4419, allocations: 1.118 MB / 383.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.442, allocations: 2.156 kB / 383.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.4431, allocations: 337.5 kB / 384 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.4442, allocations: 139.2 kB / 384.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.4469, allocations: 1.339 MB / 385.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.4472, allocations: 0.8079 MB / 386.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/0.4477, allocations: 48.77 kB / 386.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4477, allocations: 4 kB / 386.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01467/0.4623, allocations: 7.09 MB / 393.4 MB, free: 10.09 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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