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.001515/0.001515, allocations: 100.2 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001706/0.001706, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.571/1.571, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 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: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,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=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.214e-05, allocations: 2.312 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.005651/0.005684, allocations: 2.26 MB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.007964, allocations: 0.7676 MB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.008177, allocations: 7.938 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.008534, allocations: 47.56 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.008868, allocations: 63.5 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.009626, allocations: 175.4 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007261/0.01035, allocations: 375.6 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.01062, allocations: 71.83 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006256/0.01124, allocations: 227.5 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.01161, allocations: 143.6 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.76e-05/0.0117, allocations: 32 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.51e-05/0.01179, allocations: 36 kB / 276.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.01197, allocations: 95.69 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.01215, allocations: 107.7 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006101/0.01276, allocations: 358.8 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.01276, allocations: 0 / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01276, allocations: 0 / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.01278, allocations: 0 / 276.9 MB, free: 13.08 MB / 266.7 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.001711/0.0145, allocations: 0.5444 MB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.01454, allocations: 11.98 kB / 277.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.01481, allocations: 68.75 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.01537, allocations: 212 kB / 277.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004686/0.01584, allocations: 351.9 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-05/0.01594, allocations: 36.33 kB / 278.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.01782, allocations: 0.5473 MB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.01785, allocations: 3.938 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.01791, allocations: 16 kB / 278.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.01793, allocations: 8 kB / 278.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.02008, allocations: 0.5113 MB / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.02219, allocations: 0.8447 MB / 280 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.02429, allocations: 462.6 kB / 280.5 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009845/0.02528, allocations: 251.4 kB / 280.7 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/0.02534, allocations: 8 kB / 280.7 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.02539, allocations: 50.48 kB / 280.8 MB, free: 8.922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.395e-06/0.02539, allocations: 0 / 280.8 MB, free: 8.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.04591/0.0713, allocations: 5.743 MB / 286.5 MB, free: 3.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.07145, allocations: 156.9 kB / 286.7 MB, free: 2.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.07173, allocations: 202.7 kB / 286.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-05/0.07182, allocations: 37.7 kB / 286.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.07194, allocations: 137.8 kB / 287.1 MB, free: 2.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.07217, allocations: 198.3 kB / 287.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.07246, allocations: 94.3 kB / 287.3 MB, free: 2.301 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.07266, allocations: 346.7 kB / 287.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.07434, allocations: 0.6064 MB / 288.3 MB, free: 1.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.07611, allocations: 0.6859 MB / 289 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1192/0.1953, allocations: 1.117 MB / 290.1 MB, free: 28.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1953, allocations: 1.5 kB / 290.1 MB, free: 28.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003485/0.1988, allocations: 1.317 MB / 291.4 MB, free: 28.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.1988, allocations: 7.281 kB / 291.4 MB, free: 28.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.1988, allocations: 2.938 kB / 291.4 MB, free: 28.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.1988, allocations: 6.062 kB / 291.4 MB, free: 28.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.2001, allocations: 176.8 kB / 291.6 MB, free: 28.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.2001, allocations: 10.16 kB / 291.6 MB, free: 28.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.2011, allocations: 88.92 kB / 291.7 MB, free: 28.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.543e-05/0.2012, allocations: 19.36 kB / 291.7 MB, free: 28.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,kinematicPTP.motion_ref,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 (67): * Single equations (assignments): 67 * 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.0003/0.2015, allocations: 172.3 kB / 291.9 MB, free: 28.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/0.2019, allocations: 178.4 kB / 292.1 MB, free: 28.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.2021, allocations: 63.14 kB / 292.1 MB, free: 28.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.2021, allocations: 10.55 kB / 292.1 MB, free: 28.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.2021, allocations: 1.031 kB / 292.1 MB, free: 28.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.2021, allocations: 8.109 kB / 292.1 MB, free: 28.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/0.2072, allocations: 1.918 MB / 294.1 MB, free: 27.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/0.2072, allocations: 9.875 kB / 294.1 MB, free: 27.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007873/0.208, allocations: 187.7 kB / 294.3 MB, free: 27.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.236e-05/0.208, allocations: 13.97 kB / 294.3 MB, free: 27.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.287e-05/0.2081, allocations: 26.48 kB / 294.3 MB, free: 27.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.242e-05/0.2081, allocations: 20.19 kB / 294.3 MB, free: 27.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/0.2081, allocations: 19.3 kB / 294.3 MB, free: 27.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.2115, allocations: 1.583 MB / 295.9 MB, free: 26.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.2118, allocations: 83.2 kB / 296 MB, free: 26.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2119, allocations: 31.33 kB / 296 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006979/0.2126, allocations: 78.39 kB / 296.1 MB, free: 26.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/0.2128, allocations: 106.7 kB / 296.2 MB, free: 26.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.838e-05/0.2129, allocations: 30.5 kB / 296.2 MB, free: 26.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.2131, allocations: 150.2 kB / 296.4 MB, free: 26.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2131, allocations: 0 / 296.4 MB, free: 26.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007043/0.2138, allocations: 114.7 kB / 296.5 MB, free: 26.19 MB / 266.7 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: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 73 * 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.0001918/0.214, allocations: 136 kB / 296.6 MB, free: 26.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002925/0.2169, allocations: 0.9937 MB / 297.6 MB, free: 25.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.2169, allocations: 1.75 kB / 297.6 MB, free: 25.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.218, allocations: 338.2 kB / 298 MB, free: 25.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.219, allocations: 166.7 kB / 298.1 MB, free: 25.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.2213, allocations: 1.116 MB / 299.2 MB, free: 24.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.2216, allocations: 208.6 kB / 299.4 MB, free: 24.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004976/0.2221, allocations: 93.89 kB / 299.5 MB, free: 24.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.2224, allocations: 41.45 kB / 299.6 MB, free: 24.64 MB / 266.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2225, allocations: 3.828 kB / 299.6 MB, free: 24.64 MB / 266.7 MB Notification: Performance of Templates: time 0.01229/0.2347, allocations: 8.677 MB / 308.2 MB, free: 18.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.860079845995642]