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.001665/0.001665, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002028/0.002028, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.477/1.477, allocations: 230.3 MB / 258 MB, free: 8.207 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: 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 0.001943/0.001943, allocations: 67.88 kB / 378.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2693, allocations: 53.37 MB / 432.1 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004091/0.2734, allocations: 2.358 MB / 434.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.2752, allocations: 0.8144 MB / 435.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.2754, allocations: 11.94 kB / 435.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.2758, allocations: 43.64 kB / 435.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.276, allocations: 63.48 kB / 435.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.2765, allocations: 187.1 kB / 435.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.277, allocations: 375.5 kB / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.2771, allocations: 67.8 kB / 436 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.2774, allocations: 171.5 kB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.2777, allocations: 175.2 kB / 436.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.2778, allocations: 32 kB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.603e-05/0.2778, allocations: 32 kB / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.2779, allocations: 99.66 kB / 436.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.2781, allocations: 143.3 kB / 436.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.2785, allocations: 336.3 kB / 437 MB, free: 2.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2785, allocations: 4 kB / 437 MB, free: 2.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2785, allocations: 0 / 437 MB, free: 2.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2785, allocations: 0 / 437 MB, free: 2.168 MB / 334.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.00128/0.2798, allocations: 0.5366 MB / 437.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2799, allocations: 8.031 kB / 437.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.615e-05/0.2799, allocations: 44.75 kB / 437.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.2804, allocations: 209.5 kB / 437.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.2806, allocations: 142.3 kB / 437.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.2807, allocations: 28.33 kB / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.2819, allocations: 0.5466 MB / 438.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.2819, allocations: 0 / 438.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.282, allocations: 12 kB / 438.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.282, allocations: 8 kB / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.2834, allocations: 0.5081 MB / 439 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.285, allocations: 0.949 MB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.2868, allocations: 482.5 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/0.2874, allocations: 227.4 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.2875, allocations: 24.06 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.2875, allocations: 38.5 kB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.643e-06/0.2875, allocations: 0 / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.04081/0.3283, allocations: 5.733 MB / 446.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.3285, allocations: 148.9 kB / 446.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.3287, allocations: 188.1 kB / 446.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.174e-05/0.3288, allocations: 41.7 kB / 446.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3289, allocations: 141.8 kB / 447 MB, free: 7.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.3291, allocations: 202.7 kB / 447.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.3295, allocations: 114.6 kB / 447.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002703/0.3297, allocations: 338.8 kB / 447.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.3315, allocations: 0.6188 MB / 448.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.3334, allocations: 0.8041 MB / 449 MB, free: 5.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003466/0.3369, allocations: 1.247 MB / 450.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.3369, allocations: 0 / 450.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00398/0.3409, allocations: 1.406 MB / 451.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.3409, allocations: 6.5 kB / 451.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.3409, allocations: 8 kB / 451.7 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/0.341, allocations: 8 kB / 451.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.3424, allocations: 207.7 kB / 451.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/0.3424, allocations: 15.94 kB / 451.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.3434, allocations: 107.7 kB / 452 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.3436, allocations: 24 kB / 452.1 MB, free: 2.645 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.0003744/0.344, allocations: 181.6 kB / 452.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/0.3443, allocations: 153.4 kB / 452.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.3445, allocations: 63.3 kB / 452.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.3445, allocations: 8 kB / 452.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.3445, allocations: 4 kB / 452.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.3445, allocations: 3.984 kB / 452.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.3499, allocations: 2.139 MB / 454.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/0.3499, allocations: 12.97 kB / 454.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008104/0.3507, allocations: 191.7 kB / 454.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/0.3508, allocations: 12 kB / 454.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.3508, allocations: 24 kB / 454.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.936e-05/0.3508, allocations: 23.92 kB / 454.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.3509, allocations: 11.94 kB / 454.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.3545, allocations: 1.545 MB / 456.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.3548, allocations: 99.62 kB / 456.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.339e-05/0.3549, allocations: 24.19 kB / 456.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.3555, allocations: 75.91 kB / 456.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.3557, allocations: 111.6 kB / 456.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.949e-05/0.3558, allocations: 28 kB / 456.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3559, allocations: 147.4 kB / 456.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3559, allocations: 0 / 456.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007116/0.3566, allocations: 124 kB / 457 MB, free: 13.34 MB / 366.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.0001862/0.3568, allocations: 131 kB / 457.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.3598, allocations: 1.031 MB / 458.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3598, allocations: 0 / 458.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.3609, allocations: 338 kB / 458.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009124/0.3618, allocations: 124.3 kB / 458.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.3643, allocations: 1.169 MB / 459.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.3649, allocations: 0.805 MB / 460.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004879/0.3654, allocations: 99.3 kB / 460.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.3657, allocations: 39.44 kB / 460.7 MB, free: 9.414 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3657, allocations: 0 / 460.7 MB, free: 9.414 MB / 366.1 MB Notification: Performance of Templates: time 0.01539/0.3811, allocations: 8.831 MB / 469.6 MB, free: 0.5898 MB / 366.1 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: 5.077495752833784]