Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 91.06 kB / 17.35 MB, free: 6 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.001207/0.001207, allocations: 177.9 kB / 18.26 MB, free: 5.391 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.277/1.277, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1948/0.1948, allocations: 44.24 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002968, allocations: 8 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.09655, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02557/0.1222, allocations: 28.04 MB / 0.4887 GB, free: 1.078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.1356, allocations: 5.834 MB / 0.4944 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004809/0.1404, allocations: 123.7 kB / 0.4945 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.1417, allocations: 422.1 kB / 0.4949 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003887/0.1457, allocations: 1.495 MB / 0.4963 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.1462, allocations: 111.9 kB / 0.4964 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005514/0.1517, allocations: 4.886 MB / 0.5012 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004334/0.1561, allocations: 2.794 MB / 0.5039 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.1579, allocations: 0.9023 MB / 0.5048 GB, free: 432 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2041/0.362, allocations: 2.739 MB / 0.5075 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009639/0.363, allocations: 126 kB / 0.5076 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.3651, allocations: 0.636 MB / 0.5082 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002319/0.3675, allocations: 1.418 MB / 0.5096 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003264/0.3707, allocations: 1.727 MB / 0.5113 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00726/0.378, allocations: 5.493 MB / 0.5167 GB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.378, allocations: 0.5625 kB / 0.5167 GB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.378, allocations: 3.781 kB / 0.5167 GB, free: 11.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002464/0.3783, allocations: 1.375 kB / 0.5167 GB, free: 11.65 MB / 382.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.009344/0.3876, allocations: 3.296 MB / 0.5199 GB, free: 9.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3877, allocations: 9.875 kB / 0.5199 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001815/0.3895, allocations: 0.6863 MB / 0.5206 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009969/0.3995, allocations: 3.046 MB / 0.5236 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/0.4033, allocations: 1.812 MB / 0.5253 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.4035, allocations: 189 kB / 0.5255 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008587/0.4044, allocations: 244.8 kB / 0.5257 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.4173, allocations: 9.761 MB / 0.5353 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.819e-05/0.4174, allocations: 14.47 kB / 0.5353 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004187/0.4178, allocations: 115.5 kB / 0.5354 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002959/0.4208, allocations: 2.365 MB / 0.5377 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.4346, allocations: 8.945 MB / 0.5464 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04024/0.4749, allocations: 29.76 MB / 0.5755 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006522/0.4814, allocations: 3.479 MB / 0.5789 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.4831, allocations: 1.105 MB / 0.58 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009863/0.493, allocations: 6.462 MB / 0.5863 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.493, allocations: 55.14 kB / 0.5863 GB, free: 3.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=135): time 5.441e-06/0.493, allocations: 3.984 kB / 0.5863 GB, free: 3.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=135): time 0.007743/0.5008, allocations: 3.131 MB / 0.5894 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.5009, allocations: 122.4 kB / 0.5895 GB, free: 468 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004552/0.5054, allocations: 2.733 MB / 0.5922 GB, free: 13.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.5055, allocations: 41.7 kB / 0.5922 GB, free: 13.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001837/0.5073, allocations: 2.734 MB / 0.5949 GB, free: 10.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000486/0.5078, allocations: 0.5195 MB / 0.5954 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005508/0.5084, allocations: 408.1 kB / 0.5958 GB, free: 10 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.5085, allocations: 301.1 kB / 0.5961 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/0.5105, allocations: 1.403 MB / 0.5975 GB, free: 8.293 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003778/0.5143, allocations: 4.226 MB / 0.6016 GB, free: 2.699 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006242/0.5206, allocations: 6.154 MB / 0.6076 GB, free: 11.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.052e-05/0.5207, allocations: 28 kB / 0.6076 GB, free: 11.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008544/0.5292, allocations: 5.454 MB / 0.6129 GB, free: 6.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.895e-05/0.5293, allocations: 51.94 kB / 0.613 GB, free: 6.609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001705/0.5295, allocations: 100 kB / 0.6131 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.5297, allocations: 132 kB / 0.6132 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.5326, allocations: 0.9977 MB / 0.6142 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001693/0.5327, allocations: 190 kB / 0.6144 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/0.5359, allocations: 0.6252 MB / 0.615 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/0.5363, allocations: 289.2 kB / 0.6153 GB, free: 4.422 MB / 462.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003414/0.5397, allocations: 1.975 MB / 0.6172 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/0.5402, allocations: 228.9 kB / 0.6174 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.5409, allocations: 288.8 kB / 0.6177 GB, free: 2.012 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.322e-05/0.5409, allocations: 18.66 kB / 0.6177 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.5409, allocations: 0 / 0.6177 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5409, allocations: 7.984 kB / 0.6177 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.5524, allocations: 6.197 MB / 0.6238 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.5524, allocations: 8 kB / 0.6238 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.553, allocations: 173.5 kB / 0.6239 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/0.5531, allocations: 15.98 kB / 0.6239 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-05/0.5531, allocations: 24 kB / 0.624 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.441e-05/0.5532, allocations: 15.94 kB / 0.624 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.5532, allocations: 11.94 kB / 0.624 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.5554, allocations: 2.016 MB / 0.626 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/0.556, allocations: 313.8 kB / 0.6263 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004036/0.5565, allocations: 28.17 kB / 0.6263 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008056/0.5573, allocations: 43.97 kB / 0.6263 GB, free: 8.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.5574, allocations: 84.28 kB / 0.6264 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/0.5575, allocations: 54.64 kB / 0.6265 GB, free: 8.773 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002514/0.56, allocations: 1.67 MB / 0.6281 GB, free: 7.094 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.084e-06/0.56, allocations: 4 kB / 0.6281 GB, free: 7.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003664/0.5637, allocations: 1.045 MB / 0.6291 GB, free: 6.043 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002659/0.5664, allocations: 2.643 MB / 0.6317 GB, free: 3.273 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004416/0.5708, allocations: 3.247 MB / 0.6349 GB, free: 52 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.5708, allocations: 4 kB / 0.6349 GB, free: 48 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000912/0.5718, allocations: 0.799 MB / 0.6357 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/0.5756, allocations: 293.1 kB / 0.6359 GB, free: 14.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05009/0.6257, allocations: 34.95 MB / 0.6701 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004683/0.6304, allocations: 3.1 MB / 0.6731 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003663/0.6341, allocations: 1.556 MB / 0.6746 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002248/0.6364, allocations: 1.601 MB / 0.6762 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.6364, allocations: 0 / 0.6762 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2625/0.8989, allocations: 43.05 MB / 0.7182 GB, free: 205.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.8991, allocations: 197 kB / 0.7184 GB, free: 205.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.628, allocations: 0 / 0.7184 GB, free: 205.5 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches