Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009987/0.0009985, allocations: 193.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000772/0.000772, allocations: 106.2 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2952/0.2952, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.0002842, allocations: 4 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3197, allocations: 62.95 MB / 0.5159 GB, free: 37.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01765/0.3374, allocations: 26.15 MB / 0.5415 GB, free: 18.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.3494, allocations: 5.592 MB / 0.5469 GB, free: 14.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003574/0.353, allocations: 118.3 kB / 0.5471 GB, free: 14.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003416/0.3564, allocations: 1.272 MB / 0.5483 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.3678, allocations: 3.856 MB / 0.5521 GB, free: 12.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3691, allocations: 123.9 kB / 0.5522 GB, free: 12.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03809/0.4072, allocations: 31.31 MB / 0.5828 GB, free: 4.934 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004657/0.412, allocations: 2.735 MB / 0.5854 GB, free: 2.137 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.4138, allocations: 0.9651 MB / 0.5864 GB, free: 1.168 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06841/0.4822, allocations: 57.43 MB / 0.6425 GB, free: 7.66 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008771/0.4832, allocations: 124 kB / 0.6426 GB, free: 7.539 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.4852, allocations: 0.6318 MB / 0.6432 GB, free: 6.906 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001797/0.487, allocations: 1.363 MB / 0.6445 GB, free: 5.539 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.4889, allocations: 1.62 MB / 0.6461 GB, free: 3.902 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004723/0.4937, allocations: 4.544 MB / 0.6505 GB, free: 15.35 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.4937, allocations: 0 / 0.6505 GB, free: 15.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4937, allocations: 4 kB / 0.6505 GB, free: 15.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001742/0.4939, allocations: 0 / 0.6505 GB, free: 15.34 MB / 474.7 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.005821/0.4997, allocations: 3.3 MB / 0.6538 GB, free: 11.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4998, allocations: 8.031 kB / 0.6538 GB, free: 11.97 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/0.5008, allocations: 0.6877 MB / 0.6544 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009051/0.5099, allocations: 3.049 MB / 0.6574 GB, free: 8.211 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/0.5128, allocations: 1.816 MB / 0.6592 GB, free: 6.344 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.5129, allocations: 184.7 kB / 0.6594 GB, free: 6.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/0.5134, allocations: 239.8 kB / 0.6596 GB, free: 5.926 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.5264, allocations: 9.741 MB / 0.6691 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.688e-05/0.5265, allocations: 19.81 kB / 0.6691 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.5269, allocations: 119.8 kB / 0.6692 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003503/0.5304, allocations: 2.354 MB / 0.6715 GB, free: 9.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.5446, allocations: 8.909 MB / 0.6802 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.256/0.8006, allocations: 29.75 MB / 0.7093 GB, free: 116.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006072/0.8068, allocations: 3.473 MB / 0.7127 GB, free: 114.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.8084, allocations: 1.097 MB / 0.7138 GB, free: 114 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009965/0.8184, allocations: 6.475 MB / 0.7201 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.8185, allocations: 46.25 kB / 0.7201 GB, free: 110.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 5.801e-06/0.8185, allocations: 0 / 0.7201 GB, free: 110.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=135): time 0.007101/0.8256, allocations: 3.122 MB / 0.7232 GB, free: 109.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.8257, allocations: 112.8 kB / 0.7233 GB, free: 109.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/0.8293, allocations: 2.719 MB / 0.7259 GB, free: 108.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.614e-05/0.8294, allocations: 41.92 kB / 0.726 GB, free: 108.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.8309, allocations: 2.736 MB / 0.7287 GB, free: 106.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004623/0.8314, allocations: 0.5173 MB / 0.7292 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.8315, allocations: 85.44 kB / 0.7292 GB, free: 105.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002483/0.8318, allocations: 0.5102 MB / 0.7297 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.8335, allocations: 1.388 MB / 0.7311 GB, free: 104.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/0.8361, allocations: 4.213 MB / 0.7352 GB, free: 99.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004416/0.8405, allocations: 6.126 MB / 0.7412 GB, free: 94.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.663e-05/0.8405, allocations: 26.47 kB / 0.7412 GB, free: 94.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.006855/0.8474, allocations: 5.413 MB / 0.7465 GB, free: 90.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.8475, allocations: 50.34 kB / 0.7465 GB, free: 90.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-05/0.8476, allocations: 100 kB / 0.7466 GB, free: 90.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-05/0.8477, allocations: 132 kB / 0.7468 GB, free: 90.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/0.8501, allocations: 0.9981 MB / 0.7477 GB, free: 89.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.506e-05/0.8502, allocations: 191.2 kB / 0.7479 GB, free: 89.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/0.8531, allocations: 0.63 MB / 0.7485 GB, free: 88.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003616/0.8535, allocations: 287 kB / 0.7488 GB, free: 88.09 MB / 490.7 MB 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.002735/0.8562, allocations: 1.977 MB / 0.7507 GB, free: 86.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.8566, allocations: 229.2 kB / 0.751 GB, free: 85.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.8571, allocations: 288.8 kB / 0.7512 GB, free: 85.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.756e-05/0.8571, allocations: 19.36 kB / 0.7513 GB, free: 85.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-05/0.8571, allocations: 8.562 kB / 0.7513 GB, free: 85.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.8572, allocations: 7.922 kB / 0.7513 GB, free: 85.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008249/0.8654, allocations: 6.184 MB / 0.7573 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.8655, allocations: 11.94 kB / 0.7573 GB, free: 79.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.8661, allocations: 163.8 kB / 0.7575 GB, free: 79.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.8661, allocations: 16 kB / 0.7575 GB, free: 79.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.8661, allocations: 35.92 kB / 0.7575 GB, free: 79.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.8662, allocations: 15.94 kB / 0.7575 GB, free: 78.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.8662, allocations: 8 kB / 0.7576 GB, free: 78.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.8679, allocations: 1.99 MB / 0.7595 GB, free: 76.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.8684, allocations: 329.6 kB / 0.7598 GB, free: 76.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.8686, allocations: 23.98 kB / 0.7598 GB, free: 76.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/0.8692, allocations: 39.97 kB / 0.7599 GB, free: 76.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.8694, allocations: 88.23 kB / 0.76 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/0.8695, allocations: 51.03 kB / 0.76 GB, free: 76.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001824/0.8713, allocations: 1.658 MB / 0.7616 GB, free: 74.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8713, allocations: 0 / 0.7616 GB, free: 74.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003248/0.8746, allocations: 1.035 MB / 0.7626 GB, free: 73.63 MB / 490.7 MB 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.002072/0.8767, allocations: 2.641 MB / 0.7652 GB, free: 70.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003862/0.8806, allocations: 3.225 MB / 0.7684 GB, free: 67.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.8806, allocations: 4 kB / 0.7684 GB, free: 67.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007066/0.8813, allocations: 0.7976 MB / 0.7691 GB, free: 66.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/0.8849, allocations: 288.1 kB / 0.7694 GB, free: 66.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0301/0.9151, allocations: 23.37 MB / 0.7922 GB, free: 40.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/0.9179, allocations: 3.111 MB / 0.7953 GB, free: 37.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/0.9195, allocations: 1.64 MB / 0.7969 GB, free: 35.87 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/0.9195, allocations: 0 / 0.7969 GB, free: 35.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.607/6.527, allocations: 59.3 MB / 0.8548 GB, free: 8.625 MB / 0.5105 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches