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.001247/0.001247, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001417/0.001417, allocations: 215.2 kB / 23 MB, free: 5.605 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.526/1.526, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.00183/0.00183, allocations: 67.88 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.299, allocations: 53.32 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004045/0.303, allocations: 2.366 MB / 432.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.3046, allocations: 0.8066 MB / 432.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.3048, allocations: 7.938 kB / 433 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.3051, allocations: 55.56 kB / 433 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.3053, allocations: 55.56 kB / 433.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.3058, allocations: 171.7 kB / 433.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.3062, allocations: 375.5 kB / 433.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.3064, allocations: 71.38 kB / 433.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.3067, allocations: 163.5 kB / 433.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.3069, allocations: 179.2 kB / 434 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.307, allocations: 32 kB / 434 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.766e-05/0.307, allocations: 32 kB / 434.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.3071, allocations: 95.72 kB / 434.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.3073, allocations: 139.3 kB / 434.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.3077, allocations: 331.8 kB / 434.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3077, allocations: 8 kB / 434.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3077, allocations: 0 / 434.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.3077, allocations: 0 / 434.6 MB, free: 2.68 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.001215/0.3089, allocations: 0.6159 MB / 435.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3089, allocations: 8.031 kB / 435.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.309, allocations: 40.75 kB / 435.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.3094, allocations: 272.4 kB / 435.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.3096, allocations: 142.2 kB / 435.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.3096, allocations: 32.33 kB / 435.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3108, allocations: 0.5525 MB / 436.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3108, allocations: 0 / 436.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.3108, allocations: 12 kB / 436.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3108, allocations: 8 kB / 436.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.3121, allocations: 0.5151 MB / 436.8 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.3136, allocations: 0.9947 MB / 437.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.3151, allocations: 486.5 kB / 438.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005724/0.3157, allocations: 238.9 kB / 438.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.3158, allocations: 8.141 kB / 438.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.3158, allocations: 50.44 kB / 438.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.643e-06/0.3158, allocations: 0 / 438.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03633/0.3521, allocations: 5.725 MB / 444.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.3523, allocations: 149 kB / 444.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.3525, allocations: 198.5 kB / 444.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.919e-05/0.3526, allocations: 37.7 kB / 444.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3527, allocations: 145.7 kB / 444.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.353, allocations: 198.4 kB / 445 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/0.3533, allocations: 110.7 kB / 445.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3534, allocations: 342.8 kB / 445.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.355, allocations: 0.6149 MB / 446.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.3566, allocations: 0.7963 MB / 446.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.3595, allocations: 1.247 MB / 448.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3596, allocations: 4 kB / 448.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003358/0.3629, allocations: 1.402 MB / 449.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.3629, allocations: 8 kB / 449.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.363, allocations: 8 kB / 449.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.363, allocations: 12 kB / 449.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.3643, allocations: 211.7 kB / 449.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.3643, allocations: 16.3 kB / 449.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009371/0.3652, allocations: 95.78 kB / 449.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/0.3653, allocations: 28 kB / 449.9 MB, free: 2.922 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.0003859/0.3657, allocations: 189.5 kB / 450.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/0.366, allocations: 153.4 kB / 450.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.3662, allocations: 67.3 kB / 450.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3662, allocations: 8 kB / 450.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.3662, allocations: 0 / 450.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3662, allocations: 3.984 kB / 450.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/0.3711, allocations: 2.171 MB / 452.5 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.3711, allocations: 11.94 kB / 452.5 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/0.3719, allocations: 188.5 kB / 452.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/0.3719, allocations: 16 kB / 452.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.3719, allocations: 24 kB / 452.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/0.3719, allocations: 19.92 kB / 452.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/0.372, allocations: 15.94 kB / 452.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/0.375, allocations: 1.561 MB / 454.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.3752, allocations: 156.8 kB / 454.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.3753, allocations: 31.98 kB / 454.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/0.3758, allocations: 71.92 kB / 454.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.376, allocations: 95.67 kB / 454.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/0.3761, allocations: 35.98 kB / 454.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.3762, allocations: 152.2 kB / 454.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3762, allocations: 0 / 454.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006677/0.3769, allocations: 120 kB / 455 MB, free: 13.48 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.0001899/0.3771, allocations: 135 kB / 455.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.3797, allocations: 1.022 MB / 456.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.3797, allocations: 5.375 kB / 456.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009546/0.3807, allocations: 342 kB / 456.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/0.3815, allocations: 135.8 kB / 456.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.3839, allocations: 1.165 MB / 457.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.3844, allocations: 0.8168 MB / 458.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004626/0.3849, allocations: 95.3 kB / 458.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.3851, allocations: 39.44 kB / 458.7 MB, free: 9.551 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3851, allocations: 3.938 kB / 458.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of Templates: time 0.01479/0.3999, allocations: 8.635 MB / 467.3 MB, free: 0.9141 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: 4.972034542821348]