Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.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.001328/0.001328, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001534/0.001534, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.487/1.487, allocations: 230.5 MB / 258.1 MB, free: 8.133 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-beta.om/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.SubClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3342, allocations: 53.3 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked): time 0.004218/0.3385, allocations: 2.398 MB / 434.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3406, allocations: 0.8417 MB / 435.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.3408, allocations: 7.938 kB / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.3413, allocations: 51.58 kB / 435.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.3416, allocations: 67.48 kB / 435.4 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.3422, allocations: 179.6 kB / 435.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.3427, allocations: 387.5 kB / 435.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.3429, allocations: 71.86 kB / 436 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.3432, allocations: 171.4 kB / 436.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.3435, allocations: 175.3 kB / 436.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.3436, allocations: 36 kB / 436.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.479e-05/0.3436, allocations: 32 kB / 436.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3437, allocations: 99.7 kB / 436.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.3439, allocations: 151.2 kB / 436.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.3444, allocations: 336.1 kB / 437 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.3444, allocations: 4 kB / 437 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3444, allocations: 3.938 kB / 437 MB, free: 2.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.3444, allocations: 0 / 437 MB, free: 2.387 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.001353/0.3457, allocations: 0.6236 MB / 437.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3458, allocations: 8.031 kB / 437.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.3459, allocations: 40.7 kB / 437.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.3464, allocations: 280.4 kB / 437.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.3466, allocations: 142.2 kB / 438.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.3467, allocations: 28.38 kB / 438.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.3479, allocations: 0.5706 MB / 438.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.348, allocations: 4 kB / 438.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.348, allocations: 12 kB / 438.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.348, allocations: 8 kB / 438.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.3495, allocations: 0.5035 MB / 439.2 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.3512, allocations: 1.018 MB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.3529, allocations: 489.4 kB / 440.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006518/0.3536, allocations: 231.4 kB / 440.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.3536, allocations: 12 kB / 440.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.3537, allocations: 42.5 kB / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.044e-06/0.3537, allocations: 0 / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.04047/0.3941, allocations: 5.721 MB / 446.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.3943, allocations: 140.9 kB / 446.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.3946, allocations: 200.2 kB / 447 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-05/0.3947, allocations: 41.7 kB / 447.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.3949, allocations: 141.8 kB / 447.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.3951, allocations: 202.3 kB / 447.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.3955, allocations: 110.3 kB / 447.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3957, allocations: 342.8 kB / 447.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.3975, allocations: 0.6142 MB / 448.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.3993, allocations: 0.793 MB / 449.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/0.4028, allocations: 1.252 MB / 450.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.4028, allocations: 384 / 450.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003948/0.4067, allocations: 1.394 MB / 451.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.4068, allocations: 8 kB / 451.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.4068, allocations: 4 kB / 451.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.4068, allocations: 15.94 kB / 451.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.4082, allocations: 211.7 kB / 452.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/0.4083, allocations: 15.94 kB / 452.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.4093, allocations: 103.8 kB / 452.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.4093, allocations: 24 kB / 452.3 MB, free: 2.598 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0004043/0.4098, allocations: 185.6 kB / 452.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.4099, allocations: 39.7 kB / 452.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.4101, allocations: 63.3 kB / 452.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.4101, allocations: 3.984 kB / 452.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4101, allocations: 3.938 kB / 452.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.4105, allocations: 204.7 kB / 452.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.4106, allocations: 16 kB / 452.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009712/0.4115, allocations: 87.88 kB / 452.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/0.4119, allocations: 88.27 kB / 453 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004859/0.4168, allocations: 1.676 MB / 454.6 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006118/0.4229, allocations: 2.471 MB / 457.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001811/0.4247, allocations: 0.6202 MB / 457.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.4249, allocations: 137.2 kB / 457.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Backend: time 6.31e-07/0.4249, allocations: 0 / 457.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.4277, allocations: 0.8129 MB / 458.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of SimCode: time 0.001759/0.4294, allocations: 1.113 MB / 459.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Templates: time 0.02481/0.4542, allocations: 13.67 MB / 473.5 MB, free: 13.31 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_functions.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_records.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_01exo.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_02nls.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_03lsy.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_04set.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_05evt.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_06inz.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_07dly.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_08bnd.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_09alg.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_10asr.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_11mix.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_12jac.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_13opt.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_14lnz.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_15syn.o Modelica_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.c Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.c:100: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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.c:100: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-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.c:113: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[0] /* PI.T PARAM */),"PI.T")); ^ 3 errors generated. make: *** [: Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.o] Error 1 [Calling os._exit(0), Time elapsed: 4.409350806381553] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.46363198198378086 0.47854730399999995 0.13093383599999994 Calling exit ...