Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.0009739, allocations: 90.72 kB / 16.95 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 190.2 kB / 17.85 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 241.9 MB, free: 368 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 8 kB / 301.4 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.003555/0.1465, allocations: 1.976 MB / 353.8 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1483, allocations: 0.811 MB / 354.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.1485, allocations: 11.94 kB / 354.7 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.1488, allocations: 35.77 kB / 354.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.149, allocations: 55.67 kB / 354.8 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.1496, allocations: 163.6 kB / 354.9 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.15, allocations: 347.5 kB / 355.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.1502, allocations: 85.97 kB / 355.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.1504, allocations: 131.5 kB / 355.5 MB, free: 408 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.1506, allocations: 155.3 kB / 355.6 MB, free: 252 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.1506, allocations: 20 kB / 355.6 MB, free: 232 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.121e-05/0.1507, allocations: 16 kB / 355.7 MB, free: 216 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1508, allocations: 87.7 kB / 355.7 MB, free: 128 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.1509, allocations: 73.52 kB / 355.8 MB, free: 48 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1512, allocations: 251.7 kB / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1512, allocations: 4 kB / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1512, allocations: 0 / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.1512, allocations: 0 / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001196/0.1524, allocations: 0.639 MB / 356.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1525, allocations: 8.031 kB / 356.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.1525, allocations: 47.48 kB / 356.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.1529, allocations: 286.1 kB / 357 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.1532, allocations: 149.7 kB / 357.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.1532, allocations: 28 kB / 357.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1544, allocations: 0.5777 MB / 357.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1544, allocations: 3.938 kB / 357.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.1544, allocations: 19.98 kB / 357.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1545, allocations: 4 kB / 357.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1557, allocations: 0.5347 MB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.1573, allocations: 1.034 MB / 359.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.1587, allocations: 0.5101 MB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/0.1593, allocations: 275.9 kB / 360.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.1594, allocations: 4.188 kB / 360.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1594, allocations: 46.69 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.934e-06/0.1594, allocations: 0 / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.03531/0.1947, allocations: 6.8 MB / 367 MB, free: 4.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.1949, allocations: 145 kB / 367.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.1952, allocations: 254.6 kB / 367.4 MB, free: 4.141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/0.1952, allocations: 41.7 kB / 367.4 MB, free: 4.094 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/0.1954, allocations: 149.4 kB / 367.6 MB, free: 3.945 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.1955, allocations: 189.3 kB / 367.8 MB, free: 3.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.1956, allocations: 12 kB / 367.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1958, allocations: 346.8 kB / 368.1 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.1973, allocations: 0.65 MB / 368.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.1988, allocations: 0.8393 MB / 369.6 MB, free: 1.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.2002, allocations: 0.6059 MB / 370.2 MB, free: 1.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2002, allocations: 0 / 370.2 MB, free: 1.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.2164/0.4167, allocations: 1.461 MB / 371.7 MB, free: 25.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.4167, allocations: 7.984 kB / 371.7 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.4168, allocations: 7.188 kB / 371.7 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.4168, allocations: 9.594 kB / 371.7 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.4182, allocations: 232.3 kB / 371.9 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.4182, allocations: 14.41 kB / 371.9 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008951/0.4191, allocations: 127 kB / 372.1 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.672e-05/0.4192, allocations: 29.61 kB / 372.1 MB, free: 25.13 MB / 302.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.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003433/0.4196, allocations: 187.3 kB / 372.3 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/0.4199, allocations: 162.7 kB / 372.4 MB, free: 24.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.4202, allocations: 68.8 kB / 372.5 MB, free: 24.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4202, allocations: 10.72 kB / 372.5 MB, free: 24.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.4202, allocations: 1.656 kB / 372.5 MB, free: 24.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.4202, allocations: 9.25 kB / 372.5 MB, free: 24.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005468/0.4257, allocations: 2.304 MB / 374.8 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.4257, allocations: 9.75 kB / 374.8 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007453/0.4265, allocations: 205 kB / 375 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/0.4265, allocations: 14.62 kB / 375.1 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.4266, allocations: 26.42 kB / 375.1 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-05/0.4266, allocations: 24.45 kB / 375.1 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-05/0.4266, allocations: 14.94 kB / 375.1 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/0.4297, allocations: 1.669 MB / 376.8 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.4299, allocations: 190.5 kB / 377 MB, free: 23.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/0.43, allocations: 27.19 kB / 377 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/0.4306, allocations: 97.23 kB / 377.1 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.4308, allocations: 103.9 kB / 377.2 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.4308, allocations: 30.52 kB / 377.2 MB, free: 23.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.431, allocations: 184.2 kB / 377.4 MB, free: 23.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.431, allocations: 0.9688 kB / 377.4 MB, free: 23.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007194/0.4317, allocations: 123.2 kB / 377.5 MB, free: 23.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001622/0.4319, allocations: 133.1 kB / 377.7 MB, free: 23.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002699/0.4346, allocations: 1.196 MB / 378.9 MB, free: 22.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4346, allocations: 1 kB / 378.9 MB, free: 22.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000954/0.4356, allocations: 373.6 kB / 379.2 MB, free: 22.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/0.4366, allocations: 149.8 kB / 379.4 MB, free: 22.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.4389, allocations: 1.455 MB / 380.8 MB, free: 21.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.4394, allocations: 0.8299 MB / 381.6 MB, free: 20.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.4398, allocations: 45.81 kB / 381.7 MB, free: 20.74 MB / 302.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4398, allocations: 0.6562 kB / 381.7 MB, free: 20.74 MB / 302.1 MB Notification: Performance of Templates: time 0.01465/0.4544, allocations: 7.313 MB / 389 MB, free: 17.92 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocksCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocksCalcHelperMain.o] Error 1