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.001334/0.001334, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001473/0.001473, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 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 0.001534/0.001534, allocations: 55.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2268, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003743/0.2305, allocations: 2.23 MB / 434.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.232, allocations: 0.7677 MB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.2321, allocations: 11.94 kB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.2323, allocations: 43.62 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.2325, allocations: 71.48 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.233, allocations: 170.8 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.2334, allocations: 379.5 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.2336, allocations: 75.61 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.2339, allocations: 163.5 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.2341, allocations: 179.3 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.2342, allocations: 36 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.458e-05/0.2342, allocations: 32 kB / 436.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2344, allocations: 107.6 kB / 436.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.2345, allocations: 119.4 kB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.2349, allocations: 329.5 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2349, allocations: 11.88 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2349, allocations: 0 / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2349, allocations: 0 / 437 MB, free: 2.043 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.2362, allocations: 0.5444 MB / 437.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2362, allocations: 12.03 kB / 437.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.228e-05/0.2363, allocations: 36.75 kB / 437.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.2367, allocations: 210.5 kB / 437.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.237, allocations: 347.9 kB / 438.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.851e-05/0.2371, allocations: 36.33 kB / 438.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.2383, allocations: 0.5521 MB / 438.7 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2383, allocations: 4 kB / 438.7 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.2384, allocations: 8 kB / 438.7 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.2384, allocations: 8 kB / 438.8 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.2399, allocations: 0.512 MB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.2414, allocations: 0.8483 MB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.2429, allocations: 478.5 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006546/0.2435, allocations: 239 kB / 440.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.2436, allocations: 8 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.2436, allocations: 42.5 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.854e-06/0.2436, allocations: 0 / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.04369/0.2873, allocations: 5.745 MB / 446.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.2874, allocations: 148.9 kB / 446.8 MB, free: 8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.2876, allocations: 207.1 kB / 447 MB, free: 7.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.2877, allocations: 41.7 kB / 447 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2878, allocations: 133.8 kB / 447.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.2881, allocations: 202.3 kB / 447.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.2884, allocations: 114.6 kB / 447.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2886, allocations: 346.8 kB / 447.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.2902, allocations: 0.6188 MB / 448.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.292, allocations: 0.8042 MB / 449.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/0.2952, allocations: 1.257 MB / 450.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.2952, allocations: 4 kB / 450.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003673/0.2989, allocations: 1.395 MB / 451.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.2989, allocations: 8 kB / 451.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.2989, allocations: 7.938 kB / 451.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.299, allocations: 12 kB / 451.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.3004, allocations: 211.7 kB / 452.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.3004, allocations: 15.92 kB / 452.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.3014, allocations: 99.78 kB / 452.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.857e-05/0.3015, allocations: 31.98 kB / 452.2 MB, free: 2.32 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: 3 (kinematicPTP.noWphase,kinematicPTP.motion_ref,kinematicPTP.moving[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0003516/0.3019, allocations: 177.7 kB / 452.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.302, allocations: 35.77 kB / 452.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.3022, allocations: 67.3 kB / 452.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3022, allocations: 3.984 kB / 452.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3022, allocations: 4 kB / 452.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.3026, allocations: 131.5 kB / 452.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.3027, allocations: 16 kB / 452.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.3037, allocations: 79.89 kB / 452.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/0.304, allocations: 88.3 kB / 452.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004648/0.3087, allocations: 1.692 MB / 454.5 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005769/0.3145, allocations: 2.502 MB / 457 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001683/0.3161, allocations: 0.6202 MB / 457.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.3163, allocations: 144.3 kB / 457.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of Backend: time 4.91e-07/0.3163, allocations: 3.938 kB / 457.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002699/0.319, allocations: 0.8269 MB / 458.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 0.001609/0.3206, allocations: 1.103 MB / 459.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of Templates: time 0.02321/0.3438, allocations: 15.09 MB / 474.8 MB, free: 11.77 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_functions.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_records.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_01exo.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_02nls.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_03lsy.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_04set.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_05evt.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_06inz.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_06inz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_07dly.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_07dly.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_08bnd.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_08bnd.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_09alg.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_09alg.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_10asr.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_10asr.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_11mix.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_11mix.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_12jac.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_12jac.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_13opt.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_13opt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_14lnz.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_14lnz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_15syn.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_15syn.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_16dae.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_16dae.c Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_16dae.c:93:131: error: use of undeclared identifier 'baseClockIndex' (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[32]] /* PI.Ts variable */) = data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval; ^ Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_16dae.c:93:157: error: use of undeclared identifier 'subClockIndex' (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[32]] /* PI.Ts variable */) = data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval; ^ Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_16dae.c:105:97: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[34]] /* PI.x variable */) = _omcQ_24CLKPRE._PI._x + ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[33]] /* PI.u variable */)) * (DIVISION((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[32]] /* PI.Ts variable */),(data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[0]] /* PI.T PARAM */),"PI.T")); ^ 3 errors generated. make: *** [: Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_16dae.o] Error 1 [Calling os._exit(0), Time elapsed: 4.348280033002084] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.35232105899922317 0.36723960199999994 0.12923164999999995 Calling exit ...