Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001097, allocations: 87.77 kB / 17.63 MB, free: 5.719 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.001399/0.001399, allocations: 182.4 kB / 18.52 MB, free: 5.168 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.591/1.591, allocations: 223.2 MB / 242.5 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2421/0.2421, allocations: 44.22 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 8 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 61.93 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.4184/0.5665, allocations: 77.97 MB / 0.5373 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04099/0.6076, allocations: 14.85 MB / 0.5518 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02408/0.6317, allocations: 359.6 kB / 0.5521 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01603/0.6478, allocations: 4.029 MB / 0.556 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04285/0.6907, allocations: 11.2 MB / 0.567 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005689/0.6964, allocations: 455.4 kB / 0.5674 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009393/0.7058, allocations: 4.744 MB / 0.5721 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007741/0.7136, allocations: 4.527 MB / 0.5765 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003329/0.717, allocations: 1.412 MB / 0.5779 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005189/0.7222, allocations: 2.656 MB / 0.5805 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.7234, allocations: 184 kB / 0.5806 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.7255, allocations: 0.5852 MB / 0.5812 GB, free: 5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0022/0.7277, allocations: 1.858 MB / 0.583 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.7293, allocations: 0.9946 MB / 0.584 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008477/0.7378, allocations: 6.739 MB / 0.5906 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.7379, allocations: 0 / 0.5906 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.7379, allocations: 0 / 0.5906 GB, free: 11.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003933/0.7383, allocations: 0 / 0.5906 GB, free: 11.38 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.07166/0.81, allocations: 9.355 MB / 0.5997 GB, free: 1.949 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.8101, allocations: 16.03 kB / 0.5997 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008443/0.8185, allocations: 1.9 MB / 0.6016 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.8291, allocations: 3.213 MB / 0.6047 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004409/0.8296, allocations: 295.5 kB / 0.605 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002813/0.8325, allocations: 407.6 kB / 0.6054 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05441/0.8869, allocations: 19.53 MB / 0.6245 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002595/0.8872, allocations: 55.44 kB / 0.6245 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001779/0.889, allocations: 183.8 kB / 0.6247 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00537/0.8944, allocations: 2.345 MB / 0.627 GB, free: 5.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05361/0.948, allocations: 22.35 MB / 0.6488 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08302/1.031, allocations: 52.52 MB / 0.7001 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3717/1.403, allocations: 9.188 MB / 0.7091 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006525/1.41, allocations: 3.01 MB / 0.712 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/1.412, allocations: 352.8 kB / 0.7123 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/1.412, allocations: 56.27 kB / 0.7124 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 4.809e-06/1.412, allocations: 1.375 kB / 0.7124 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.1123/1.524, allocations: 16.16 MB / 0.7282 GB, free: 187.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/1.524, allocations: 153.4 kB / 0.7283 GB, free: 187.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/1.529, allocations: 4.667 MB / 0.7329 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003422/1.53, allocations: 53.55 kB / 0.7329 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/1.531, allocations: 3.496 MB / 0.7363 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007481/1.532, allocations: 0.8398 MB / 0.7372 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/1.532, allocations: 130.3 kB / 0.7373 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002648/1.533, allocations: 0.5893 MB / 0.7379 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/1.536, allocations: 3.142 MB / 0.7409 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004716/1.541, allocations: 7.439 MB / 0.7482 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005574/1.546, allocations: 4.683 MB / 0.7528 GB, free: 168 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.349e-05/1.547, allocations: 51.92 kB / 0.7528 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01515/1.562, allocations: 10.55 MB / 0.7631 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.548e-05/1.562, allocations: 68 kB / 0.7632 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/1.562, allocations: 156 kB / 0.7633 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/1.562, allocations: 225.5 kB / 0.7636 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004928/1.567, allocations: 1.797 MB / 0.7653 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001572/1.567, allocations: 298.8 kB / 0.7656 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005499/1.573, allocations: 0.9254 MB / 0.7665 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006398/1.573, allocations: 0.5161 MB / 0.767 GB, free: 153.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 852 * Array equations: 3 * 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.003632/1.577, allocations: 2.315 MB / 0.7693 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007718/1.578, allocations: 410.6 kB / 0.7697 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005379/1.583, allocations: 4.857 MB / 0.7744 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.311e-05/1.583, allocations: 24 kB / 0.7744 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.583, allocations: 4 kB / 0.7744 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/1.583, allocations: 11.95 kB / 0.7744 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/1.598, allocations: 11.51 MB / 0.7857 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/1.598, allocations: 11.95 kB / 0.7857 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/1.601, allocations: 0.6006 MB / 0.7863 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.319e-05/1.601, allocations: 16 kB / 0.7863 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/1.601, allocations: 146.1 kB / 0.7864 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.136e-05/1.601, allocations: 24.55 kB / 0.7864 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.601, allocations: 19.88 kB / 0.7865 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008628/1.61, allocations: 8.874 MB / 0.7951 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/1.611, allocations: 0.5226 MB / 0.7956 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004629/1.611, allocations: 44.94 kB / 0.7957 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/1.613, allocations: 84.84 kB / 0.7958 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/1.613, allocations: 241.9 kB / 0.796 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/1.614, allocations: 167.8 kB / 0.7962 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004051/1.618, allocations: 2.923 MB / 0.799 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.618, allocations: 0 / 0.799 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006188/1.624, allocations: 1.372 MB / 0.8004 GB, free: 119 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 205 * Array equations: 3 * 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.0004405/1.624, allocations: 190.4 kB / 0.8005 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008268/1.633, allocations: 7.058 MB / 0.8074 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.633, allocations: 0 / 0.8074 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002446/1.635, allocations: 2.441 MB / 0.8098 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/1.638, allocations: 0.5302 MB / 0.8103 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.657, allocations: 14.67 MB / 0.8247 GB, free: 93.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003131/1.66, allocations: 3.596 MB / 0.8282 GB, free: 90.35 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/1.662, allocations: 0.6394 MB / 0.8288 GB, free: 89.71 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/1.662, allocations: 3.938 kB / 0.8288 GB, free: 89.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.1037/1.766, allocations: 73.96 MB / 0.901 GB, free: 15.8 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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 OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1DCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1DCalcHelperMain.o] Error 1