Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.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.001698/0.001698, 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.002014/0.002014, allocations: 210.8 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.SubClocked,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.SubClocked") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked,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.SubClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 51.92 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2304, allocations: 53.38 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked): time 0.004134/0.2345, allocations: 2.265 MB / 434.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.2362, allocations: 0.7988 MB / 435.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.2364, allocations: 7.938 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.2367, allocations: 55.52 kB / 435.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.237, allocations: 59.56 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.2376, allocations: 179.6 kB / 435.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.2381, allocations: 383.6 kB / 436.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.2383, allocations: 75.3 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.2386, allocations: 175.4 kB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.2389, allocations: 183.3 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.239, allocations: 40 kB / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.283e-05/0.239, allocations: 32 kB / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.2392, allocations: 99.72 kB / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.2393, allocations: 123.4 kB / 436.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.2398, allocations: 354.2 kB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2398, allocations: 0 / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2398, allocations: 0 / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2398, allocations: 0 / 437.1 MB, free: 1.953 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001392/0.2412, allocations: 0.5522 MB / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2412, allocations: 12.03 kB / 437.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.185e-05/0.2413, allocations: 40.7 kB / 437.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.2418, allocations: 218.5 kB / 437.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/0.2421, allocations: 347.9 kB / 438.3 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.2422, allocations: 28.38 kB / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.2435, allocations: 0.5661 MB / 438.9 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.2436, allocations: 11.94 kB / 438.9 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.2436, allocations: 8 kB / 438.9 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2436, allocations: 8 kB / 438.9 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.2451, allocations: 0.5198 MB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.2466, allocations: 0.8444 MB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.2482, allocations: 478.3 kB / 440.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006674/0.2488, allocations: 239.4 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.2489, allocations: 12 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.2489, allocations: 42.55 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.983e-06/0.2489, allocations: 0 / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.04277/0.2917, allocations: 5.739 MB / 446.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.997e-05/0.2918, allocations: 137 kB / 446.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.2921, allocations: 208.3 kB / 447.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.915e-05/0.2922, allocations: 49.64 kB / 447.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2923, allocations: 137.8 kB / 447.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.2925, allocations: 202.3 kB / 447.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/0.2928, allocations: 114.6 kB / 447.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.293, allocations: 346.7 kB / 447.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.2947, allocations: 0.6226 MB / 448.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.2965, allocations: 0.8004 MB / 449.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/0.2997, allocations: 1.26 MB / 450.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2997, allocations: 0 / 450.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003744/0.3035, allocations: 1.399 MB / 452 MB, free: 2.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.3035, allocations: 12.36 kB / 452 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3035, allocations: 8 kB / 452 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.3036, allocations: 8 kB / 452 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.305, allocations: 211.6 kB / 452.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.3051, allocations: 15.94 kB / 452.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.3061, allocations: 103.8 kB / 452.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.485e-05/0.3062, allocations: 31.94 kB / 452.4 MB, free: 2.184 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.000344/0.3065, allocations: 181.6 kB / 452.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.3067, allocations: 35.77 kB / 452.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.3068, allocations: 67.3 kB / 452.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.3068, allocations: 3.984 kB / 452.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3069, allocations: 0 / 452.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.3072, allocations: 131.6 kB / 452.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.3073, allocations: 15.94 kB / 452.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.3084, allocations: 91.88 kB / 452.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002979/0.3087, allocations: 80.31 kB / 453 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004658/0.3133, allocations: 1.688 MB / 454.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005682/0.319, allocations: 2.506 MB / 457.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001683/0.3207, allocations: 0.6124 MB / 457.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.3208, allocations: 153.2 kB / 457.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of Backend: time 3.3e-07/0.3208, allocations: 4 kB / 457.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.3235, allocations: 0.8252 MB / 458.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of SimCode: time 0.001559/0.325, allocations: 1.103 MB / 459.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of Templates: time 0.02295/0.348, allocations: 15.15 MB / 475 MB, free: 11.55 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.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_SubClocked -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.SubClocked.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.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_SubClocked -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.SubClocked_functions.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_records.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_01exo.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_02nls.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_03lsy.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_04set.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_05evt.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_06inz.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_07dly.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_08bnd.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_09alg.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_10asr.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_11mix.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_12jac.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_13opt.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_14lnz.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_15syn.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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_SubClocked -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.SubClocked_16dae.o Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.c Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_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.SubClocked_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.SubClocked_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.SubClocked_16dae.o] Error 1 [Calling os._exit(0), Time elapsed: 4.23719980900205] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.3562278850004077 0.37047998800000004 0.127732179 Calling exit ...