Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.952e-05, allocations: 2.312 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.006238/0.006267, allocations: 2.258 MB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.009059, allocations: 0.7675 MB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.009344, allocations: 4 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.009744, allocations: 51.58 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.01014, allocations: 67.42 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.01096, allocations: 167.5 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007582/0.01172, allocations: 383.5 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.01199, allocations: 67.84 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006727/0.01266, allocations: 223.5 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.01304, allocations: 147.6 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.01314, allocations: 40 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.644e-05/0.01324, allocations: 32 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.01343, allocations: 95.7 kB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.01363, allocations: 107.7 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.01433, allocations: 346.8 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.01433, allocations: 4 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01434, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.01434, allocations: 4 kB / 277 MB, free: 13.11 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.001944/0.01629, allocations: 0.5405 MB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.01633, allocations: 8.031 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.01655, allocations: 68.75 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.01711, allocations: 221.8 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000529/0.01764, allocations: 347.9 kB / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.01775, allocations: 32.33 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.01978, allocations: 0.5435 MB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.01981, allocations: 3.938 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/0.01987, allocations: 12 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.01988, allocations: 4 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.02235, allocations: 0.5191 MB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.02482, allocations: 0.8446 MB / 280.2 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.02729, allocations: 469 kB / 280.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.02843, allocations: 243.3 kB / 280.8 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-05/0.02851, allocations: 19.94 kB / 280.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/0.02856, allocations: 42.55 kB / 280.9 MB, free: 8.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/0.02856, allocations: 0 / 280.9 MB, free: 8.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.06575/0.09432, allocations: 5.747 MB / 286.7 MB, free: 3.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.09446, allocations: 153 kB / 286.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.09473, allocations: 203.2 kB / 287 MB, free: 2.816 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.87e-05/0.09482, allocations: 41.7 kB / 287 MB, free: 2.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.09499, allocations: 141.8 kB / 287.2 MB, free: 2.625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.09523, allocations: 190.3 kB / 287.4 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/0.09555, allocations: 98.28 kB / 287.5 MB, free: 2.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.09576, allocations: 338.8 kB / 287.8 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.09762, allocations: 0.6064 MB / 288.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.09954, allocations: 0.6937 MB / 289.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1279/0.2275, allocations: 1.112 MB / 290.2 MB, free: 28.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.2275, allocations: 0 / 290.2 MB, free: 28.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003604/0.2311, allocations: 1.317 MB / 291.5 MB, free: 28.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.2311, allocations: 6.078 kB / 291.5 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2311, allocations: 3.938 kB / 291.5 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.2311, allocations: 5.5 kB / 291.5 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.2324, allocations: 182.9 kB / 291.7 MB, free: 28.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.2324, allocations: 6.562 kB / 291.7 MB, free: 28.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/0.2333, allocations: 96.19 kB / 291.8 MB, free: 28.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.2334, allocations: 19.72 kB / 291.8 MB, free: 28.6 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.0002997/0.2337, allocations: 166.5 kB / 292 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/0.2341, allocations: 178.7 kB / 292.2 MB, free: 28.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.2342, allocations: 62.8 kB / 292.2 MB, free: 28.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.2342, allocations: 8.531 kB / 292.2 MB, free: 28.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2343, allocations: 4.031 kB / 292.2 MB, free: 28.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.2343, allocations: 4.422 kB / 292.3 MB, free: 28.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/0.2388, allocations: 1.924 MB / 294.2 MB, free: 27.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.2388, allocations: 14.16 kB / 294.2 MB, free: 27.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/0.2395, allocations: 183.1 kB / 294.4 MB, free: 27.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.771e-05/0.2396, allocations: 14.83 kB / 294.4 MB, free: 27.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/0.2396, allocations: 24.14 kB / 294.4 MB, free: 27.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.911e-05/0.2396, allocations: 21.89 kB / 294.4 MB, free: 27.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/0.2397, allocations: 19.88 kB / 294.4 MB, free: 27.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/0.2428, allocations: 1.578 MB / 296 MB, free: 26.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.243, allocations: 89.08 kB / 296.1 MB, free: 26.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.068e-05/0.2431, allocations: 25.3 kB / 296.1 MB, free: 26.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000626/0.2437, allocations: 83.34 kB / 296.2 MB, free: 26.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.244, allocations: 103.7 kB / 296.3 MB, free: 26.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.244, allocations: 31.02 kB / 296.3 MB, free: 26.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.2442, allocations: 148 kB / 296.5 MB, free: 26.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2442, allocations: 0 / 296.5 MB, free: 26.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006666/0.2448, allocations: 115.2 kB / 296.6 MB, free: 26.23 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.0001746/0.245, allocations: 143.1 kB / 296.7 MB, free: 26.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002763/0.2478, allocations: 0.9964 MB / 297.7 MB, free: 25.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.2478, allocations: 2.312 kB / 297.7 MB, free: 25.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009377/0.2487, allocations: 338 kB / 298.1 MB, free: 25.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008817/0.2496, allocations: 159.6 kB / 298.2 MB, free: 25.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.2517, allocations: 1.115 MB / 299.3 MB, free: 24.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.2519, allocations: 208.5 kB / 299.5 MB, free: 24.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004616/0.2524, allocations: 92.02 kB / 299.6 MB, free: 24.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.2527, allocations: 41.7 kB / 299.7 MB, free: 24.68 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.2527, allocations: 1.375 kB / 299.7 MB, free: 24.68 MB / 266.7 MB Notification: Performance of Templates: time 0.0116/0.2643, allocations: 8.672 MB / 308.4 MB, free: 18.45 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.760607268079184]