Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 93.55 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.621/1.621, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2492/0.2492, allocations: 45.91 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 4 kB / 418.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 63.48 MB / 482.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02776/0.1686, allocations: 26.13 MB / 0.4963 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.1839, allocations: 5.609 MB / 0.5018 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004992/0.189, allocations: 115.8 kB / 0.5019 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00371/0.1927, allocations: 1.272 MB / 0.5032 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.2049, allocations: 3.833 MB / 0.5069 GB, free: 320 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.2062, allocations: 111.9 kB / 0.507 GB, free: 208 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.4012/0.6074, allocations: 31.23 MB / 0.5375 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003806/0.6113, allocations: 2.624 MB / 0.5401 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.6129, allocations: 0.9557 MB / 0.541 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07407/0.687, allocations: 57.44 MB / 0.5971 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001208/0.6882, allocations: 122 kB / 0.5972 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.6902, allocations: 0.5408 MB / 0.5977 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002172/0.6924, allocations: 1.357 MB / 0.5991 GB, free: 1.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.6943, allocations: 0.7287 MB / 0.5998 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006335/0.7007, allocations: 4.537 MB / 0.6042 GB, free: 12.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.7007, allocations: 0 / 0.6042 GB, free: 12.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7008, allocations: 0 / 0.6042 GB, free: 12.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002564/0.701, allocations: 0 / 0.6042 GB, free: 12.74 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.007619/0.7086, allocations: 3.351 MB / 0.6075 GB, free: 9.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.7087, allocations: 8.031 kB / 0.6075 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009598/0.7183, allocations: 3.044 MB / 0.6105 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/0.7227, allocations: 1.798 MB / 0.6122 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.7229, allocations: 184.6 kB / 0.6124 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006806/0.7236, allocations: 239.8 kB / 0.6126 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/0.7403, allocations: 9.725 MB / 0.6221 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.334e-05/0.7404, allocations: 19.81 kB / 0.6221 GB, free: 9.977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003471/0.7407, allocations: 119.8 kB / 0.6223 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003645/0.7444, allocations: 2.359 MB / 0.6246 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/0.7641, allocations: 8.914 MB / 0.6333 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04564/0.8098, allocations: 29.73 MB / 0.6623 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006621/0.8165, allocations: 3.47 MB / 0.6657 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.8183, allocations: 1.105 MB / 0.6668 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.8294, allocations: 6.454 MB / 0.6731 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.8295, allocations: 47.2 kB / 0.6731 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 6.492e-06/0.8295, allocations: 0 / 0.6731 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.007901/0.8374, allocations: 3.12 MB / 0.6762 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.8375, allocations: 119.5 kB / 0.6763 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004638/0.8422, allocations: 2.716 MB / 0.6789 GB, free: 14.36 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.8423, allocations: 41.7 kB / 0.679 GB, free: 14.31 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001999/0.8443, allocations: 2.735 MB / 0.6816 GB, free: 11.55 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005105/0.8448, allocations: 0.5246 MB / 0.6822 GB, free: 11.02 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.845, allocations: 88 kB / 0.6822 GB, free: 10.93 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0003338/0.8453, allocations: 0.5081 MB / 0.6827 GB, free: 10.41 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.8473, allocations: 1.387 MB / 0.6841 GB, free: 9.02 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/0.8514, allocations: 4.205 MB / 0.6882 GB, free: 3.398 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/0.8547, allocations: 2.429 MB / 0.6906 GB, free: 0.9609 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.55e-05/0.8547, allocations: 28 kB / 0.6906 GB, free: 0.9336 MB / 0.5138 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008819/0.8636, allocations: 5.415 MB / 0.6959 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/0.8637, allocations: 49.97 kB / 0.6959 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.8638, allocations: 100 kB / 0.696 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/0.864, allocations: 144 kB / 0.6962 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/0.8667, allocations: 0.9981 MB / 0.6971 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001842/0.8669, allocations: 199.2 kB / 0.6973 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/0.8706, allocations: 0.6183 MB / 0.6979 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005529/0.8711, allocations: 284 kB / 0.6982 GB, free: 9.133 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 543 * Array equations: 8 * 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.004437/0.8756, allocations: 1.983 MB / 0.7001 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/0.8761, allocations: 225 kB / 0.7004 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006559/0.8767, allocations: 292.8 kB / 0.7006 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/0.8768, allocations: 16.25 kB / 0.7007 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/0.8768, allocations: 0 / 0.7007 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.8768, allocations: 7.984 kB / 0.7007 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009828/0.8866, allocations: 6.189 MB / 0.7067 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.8867, allocations: 16 kB / 0.7067 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006129/0.8873, allocations: 159.8 kB / 0.7069 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.8873, allocations: 12 kB / 0.7069 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/0.8874, allocations: 28 kB / 0.7069 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.775e-05/0.8874, allocations: 19.92 kB / 0.7069 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3375/1.225, allocations: 14.91 kB / 0.7069 GB, free: 184 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/1.229, allocations: 1.982 MB / 0.7089 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007514/1.23, allocations: 318.7 kB / 0.7092 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/1.23, allocations: 34.33 kB / 0.7092 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/1.23, allocations: 46.45 kB / 0.7093 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/1.231, allocations: 81.62 kB / 0.7093 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.231, allocations: 47.55 kB / 0.7094 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002993/1.234, allocations: 1.66 MB / 0.711 GB, free: 183.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.234, allocations: 0 / 0.711 GB, free: 183.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00408/1.238, allocations: 1.042 MB / 0.712 GB, free: 182.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * 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 (93): * Single equations (assignments): 87 * Array equations: 6 * 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.0003574/1.238, allocations: 161.8 kB / 0.7122 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005523/1.244, allocations: 3.236 MB / 0.7153 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.244, allocations: 1.406 kB / 0.7153 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/1.245, allocations: 0.7966 MB / 0.7161 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.247, allocations: 285.2 kB / 0.7164 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/1.268, allocations: 9.858 MB / 0.726 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004369/1.272, allocations: 3.109 MB / 0.729 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007773/1.273, allocations: 207.3 kB / 0.7292 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.954e-06/1.273, allocations: 0 / 0.7292 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.06812/1.341, allocations: 43.8 MB / 0.772 GB, free: 139.9 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.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_trunk_ModelicaTest.MultiBody.Visualizers.PlanesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.PlanesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.PlanesCalcHelperMain.o] Error 1