Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo", uses=false) Using package Credibility with version 0.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo) 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(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001074, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 176 kB / 16.58 MB, free: 6.422 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.588/1.588, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.00834/0.00834, allocations: 1.276 MB / 293 MB, free: 1.012 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 8 kB / 354.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3983, allocations: 50.69 MB / 404.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.005818/0.4041, allocations: 3.884 MB / 408.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005971/0.4101, allocations: 3.219 MB / 411.9 MB, free: 6.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.4108, allocations: 21.25 kB / 412 MB, free: 6.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003505/0.4143, allocations: 1.01 MB / 413 MB, free: 5.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.4156, allocations: 379 kB / 413.3 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.417, allocations: 314.4 kB / 413.7 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.4184, allocations: 0.806 MB / 414.5 MB, free: 5.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005258/0.419, allocations: 211 kB / 414.7 MB, free: 4.953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006582/0.4196, allocations: 314.6 kB / 415 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007457/0.4204, allocations: 406.8 kB / 415.4 MB, free: 4.688 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.808e-05/0.4205, allocations: 22.31 kB / 415.4 MB, free: 4.688 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/0.421, allocations: 119 kB / 415.5 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.4215, allocations: 314.7 kB / 415.8 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.4217, allocations: 212.5 kB / 416 MB, free: 4.391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.4234, allocations: 0.9738 MB / 417 MB, free: 4.133 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4234, allocations: 4 kB / 417 MB, free: 4.129 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4234, allocations: 0.8438 kB / 417 MB, free: 4.129 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.4234, allocations: 0 / 417 MB, free: 4.129 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002465/0.4259, allocations: 1.377 MB / 418.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.426, allocations: 9.719 kB / 418.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.4262, allocations: 138.7 kB / 418.5 MB, free: 3.098 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.4278, allocations: 1.038 MB / 419.6 MB, free: 2.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.4279, allocations: 39.22 kB / 419.6 MB, free: 2.477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.76e-05/0.4279, allocations: 45.88 kB / 419.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.429, allocations: 480.3 kB / 420.1 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.429, allocations: 6.047 kB / 420.1 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.4291, allocations: 15.38 kB / 420.1 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.4291, allocations: 14.97 kB / 420.1 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008397/0.4299, allocations: 355 kB / 420.5 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.4338, allocations: 2.166 MB / 422.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.4349, allocations: 461.6 kB / 423.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.4354, allocations: 216.8 kB / 423.3 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.993e-05/0.4355, allocations: 5.516 kB / 423.3 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005618/0.436, allocations: 221.1 kB / 423.5 MB, free: 332 kB / 286.1 MB Notification: Performance of pre-optimization done (n=41): time 2.284e-06/0.436, allocations: 0 / 423.5 MB, free: 332 kB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.003938/0.44, allocations: 1.772 MB / 425.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.4401, allocations: 108.2 kB / 425.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003315/0.4434, allocations: 1.994 MB / 427.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.4435, allocations: 35.58 kB / 427.5 MB, free: 14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/0.4441, allocations: 490.9 kB / 427.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.4442, allocations: 174.9 kB / 428.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.4443, allocations: 21.03 kB / 428.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002372/0.4446, allocations: 361.2 kB / 428.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.4456, allocations: 0.5298 MB / 429 MB, free: 12.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.4468, allocations: 0.6896 MB / 429.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.4479, allocations: 0.6024 MB / 430.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4479, allocations: 1.375 kB / 430.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003147/0.4511, allocations: 1.515 MB / 431.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.4513, allocations: 156.2 kB / 432 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.4513, allocations: 1.625 kB / 432 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.4515, allocations: 46.36 kB / 432 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.4531, allocations: 405 kB / 432.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003455/0.4566, allocations: 3.424 MB / 435.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/0.4572, allocations: 48.17 kB / 435.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/0.4573, allocations: 36 kB / 435.9 MB, free: 7.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.4573, allocations: 4 kB / 435.9 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0021/0.4594, allocations: 1.347 MB / 437.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4594, allocations: 0 / 437.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.4596, allocations: 44.75 kB / 437.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008546/0.4604, allocations: 271.9 kB / 437.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.4619, allocations: 1.879 MB / 439.5 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.4624, allocations: 35.98 kB / 439.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.4625, allocations: 43.98 kB / 439.5 MB, free: 3.605 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.measurementsTable.nextTimeEvent,measurementsTable.nextTimeEvent,$PRE.measurementsTable.nextTimeEventScaled,measurementsTable.nextTimeEventScaled,speedController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009582/0.4635, allocations: 0.4906 MB / 440 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.4637, allocations: 126.4 kB / 440.1 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.4647, allocations: 0.5101 MB / 440.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4647, allocations: 4 kB / 440.7 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4647, allocations: 0 / 440.7 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4647, allocations: 3.984 kB / 440.7 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.4671, allocations: 1.453 MB / 442.1 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4671, allocations: 0 / 442.1 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.4675, allocations: 99.89 kB / 442.2 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4675, allocations: 3.938 kB / 442.2 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.4676, allocations: 15.97 kB / 442.2 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.4676, allocations: 4 kB / 442.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4676, allocations: 0 / 442.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.4691, allocations: 0.8146 MB / 443.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/0.4695, allocations: 279.5 kB / 443.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.4696, allocations: 4 kB / 443.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.47, allocations: 31.98 kB / 443.4 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.4701, allocations: 31.95 kB / 443.4 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.4701, allocations: 12 kB / 443.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001959/0.4721, allocations: 1.307 MB / 444.7 MB, free: 14.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4721, allocations: 0 / 444.7 MB, free: 14.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001272/0.4734, allocations: 392 kB / 445.1 MB, free: 13.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,torqueLoad.phi,sine.phi) * Number of discrete variables: 3 ($whenCondition1,measurementsTable.nextTimeEvent,measurementsTable.nextTimeEventScaled) * Number of discrete states: 2 (measurementsTable.nextTimeEvent,measurementsTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001916/0.4753, allocations: 0.7248 MB / 445.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003761/0.4791, allocations: 1.812 MB / 447.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4791, allocations: 0 / 447.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.4795, allocations: 195.8 kB / 447.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4806, allocations: 188.5 kB / 448 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/0.485, allocations: 2.721 MB / 450.7 MB, free: 8.547 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009505/0.486, allocations: 1.135 MB / 451.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.4862, allocations: 63.42 kB / 451.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4862, allocations: 0 / 451.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of Templates: time 0.03097/0.5172, allocations: 20.05 MB / 472 MB, free: 3.324 MB / 334.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.makefile make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppCredibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibrationCalcHelperMain.o OMCppCredibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibrationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppCredibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibrationCalcHelperMain.o] Error 1