Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.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_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009616/0.0009619, allocations: 99.12 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.001398/0.001398, allocations: 176.5 kB / 16.58 MB, free: 6.871 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.587/1.587, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.01317/0.01317, allocations: 1.279 MB / 293 MB, free: 0.9844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 8 kB / 354.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3671, allocations: 50.69 MB / 404.8 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.004744/0.3719, allocations: 3.611 MB / 408.5 MB, free: 8.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003605/0.3755, allocations: 2.37 MB / 410.8 MB, free: 6.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.3759, allocations: 15.41 kB / 410.8 MB, free: 6.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.378, allocations: 0.9783 MB / 411.8 MB, free: 6.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000668/0.3787, allocations: 335.2 kB / 412.1 MB, free: 6.199 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000728/0.3795, allocations: 254 kB / 412.4 MB, free: 6.066 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008629/0.3803, allocations: 0.7527 MB / 413.1 MB, free: 5.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.3807, allocations: 186.2 kB / 413.3 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003695/0.3811, allocations: 294 kB / 413.6 MB, free: 5.496 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004875/0.3815, allocations: 375 kB / 414 MB, free: 5.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.664e-05/0.3816, allocations: 22.38 kB / 414 MB, free: 5.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.3819, allocations: 71 kB / 414.1 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.3822, allocations: 303.5 kB / 414.4 MB, free: 5.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.3823, allocations: 204.6 kB / 414.6 MB, free: 5.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3834, allocations: 0.8877 MB / 415.5 MB, free: 4.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3834, allocations: 0 / 415.5 MB, free: 4.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3834, allocations: 0 / 415.5 MB, free: 4.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3834, allocations: 0 / 415.5 MB, free: 4.863 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002247/0.3857, allocations: 1.34 MB / 416.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.3857, allocations: 9.391 kB / 416.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.3859, allocations: 125.9 kB / 416.9 MB, free: 3.883 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.3873, allocations: 0.9975 MB / 417.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.3874, allocations: 29.22 kB / 418 MB, free: 3.293 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.3875, allocations: 43.59 kB / 418 MB, free: 3.277 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.3885, allocations: 0.5058 MB / 418.5 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.3886, allocations: 5.156 kB / 418.5 MB, free: 3.031 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.3886, allocations: 20.58 kB / 418.5 MB, free: 3.016 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.3886, allocations: 10.69 kB / 418.5 MB, free: 3.016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3897, allocations: 460.4 kB / 419 MB, free: 2.895 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.3928, allocations: 2.238 MB / 421.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.3939, allocations: 0.4958 MB / 421.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005336/0.3944, allocations: 218.3 kB / 421.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.3945, allocations: 12.48 kB / 421.9 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3945, allocations: 33.62 kB / 422 MB, free: 1.145 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 2.134e-06/0.3945, allocations: 0 / 422 MB, free: 1.145 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.003848/0.3984, allocations: 1.865 MB / 423.8 MB, free: 64 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.3985, allocations: 85.06 kB / 423.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.4013, allocations: 1.944 MB / 425.9 MB, free: 15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.4014, allocations: 31.98 kB / 425.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.4019, allocations: 488.6 kB / 426.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.402, allocations: 155.9 kB / 426.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.4021, allocations: 25 kB / 426.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.4023, allocations: 357.7 kB / 426.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.4033, allocations: 0.5872 MB / 427.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.4046, allocations: 0.7382 MB / 428.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.4057, allocations: 0.6382 MB / 428.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4057, allocations: 0 / 428.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002891/0.4086, allocations: 1.605 MB / 430.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.4088, allocations: 158.8 kB / 430.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4088, allocations: 6.219 kB / 430.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/0.409, allocations: 38.48 kB / 430.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.4104, allocations: 411.9 kB / 431.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.4126, allocations: 2.083 MB / 433.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.4134, allocations: 63.98 kB / 433.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.08e-05/0.4135, allocations: 44.06 kB / 433.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.4135, allocations: 2.188 kB / 433.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002556/0.4161, allocations: 1.433 MB / 434.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.4161, allocations: 7.984 kB / 434.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/0.4162, allocations: 36.83 kB / 434.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008942/0.4171, allocations: 271.8 kB / 435 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004887/0.4177, allocations: 0.5522 MB / 435.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/0.4184, allocations: 68.05 kB / 435.6 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.4184, allocations: 32 kB / 435.7 MB, free: 7.598 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: 3 (kinematicPTP.noWphase,integrator.local_reset,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): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 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.0009851/0.4194, allocations: 484.8 kB / 436.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.4196, allocations: 118.4 kB / 436.2 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.4209, allocations: 0.5284 MB / 436.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.4209, allocations: 7.953 kB / 436.8 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4209, allocations: 4 kB / 436.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.4209, allocations: 3.984 kB / 436.8 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.4238, allocations: 1.463 MB / 438.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.4238, allocations: 12.11 kB / 438.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.4243, allocations: 107.9 kB / 438.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/0.4243, allocations: 11.98 kB / 438.4 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.4244, allocations: 8 kB / 438.4 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.4244, allocations: 4 kB / 438.4 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4244, allocations: 4 kB / 438.4 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.427, allocations: 0.883 MB / 439.3 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/0.4276, allocations: 267.5 kB / 439.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.4277, allocations: 8 kB / 439.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000616/0.4283, allocations: 51.95 kB / 439.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.4285, allocations: 31.95 kB / 439.6 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.4285, allocations: 8 kB / 439.6 MB, free: 3.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.002596/0.4311, allocations: 1.266 MB / 440.9 MB, free: 2.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4311, allocations: 0 / 440.9 MB, free: 2.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001793/0.4329, allocations: 368 kB / 441.3 MB, free: 1.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,integrator.y,torqueLoad.phi) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.001286/0.4342, allocations: 378.9 kB / 441.6 MB, free: 1.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.005232/0.4395, allocations: 1.909 MB / 443.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.4395, allocations: 4 kB / 443.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007688/0.4403, allocations: 233.5 kB / 443.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.442, allocations: 174 kB / 443.9 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005592/0.4476, allocations: 2.554 MB / 446.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.4487, allocations: 1.112 MB / 447.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.449, allocations: 59.42 kB / 447.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4491, allocations: 0 / 447.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of Templates: time 0.03661/0.4857, allocations: 16.67 MB / 464.3 MB, free: 10.84 MB / 334.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.makefile make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.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 OMCppCredibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_originalCalcHelperMain.o OMCppCredibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_originalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppCredibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_originalCalcHelperMain.o] Error 1