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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001738/0.001737, allocations: 117 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 73.06 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1169, allocations: 62.45 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02758/0.1445, allocations: 28.78 MB / 0.4965 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.159, allocations: 5.799 MB / 0.5021 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005564/0.1646, allocations: 119.8 kB / 0.5022 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003653/0.1683, allocations: 1.5 MB / 0.5037 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2415/0.4098, allocations: 1.457 MB / 0.5051 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.4105, allocations: 107.3 kB / 0.5052 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00478/0.4153, allocations: 3.502 MB / 0.5086 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/0.4184, allocations: 2.316 MB / 0.5109 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.4203, allocations: 1.159 MB / 0.512 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004205/0.4246, allocations: 2.946 MB / 0.5149 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00135/0.4259, allocations: 229.8 kB / 0.5151 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.4282, allocations: 0.7102 MB / 0.5158 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.4298, allocations: 1.515 MB / 0.5173 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.4318, allocations: 1.828 MB / 0.5191 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006319/0.4381, allocations: 5.673 MB / 0.5246 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.4381, allocations: 0 / 0.5246 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4381, allocations: 0 / 0.5246 GB, free: 7.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000167/0.4383, allocations: 0 / 0.5246 GB, free: 7.73 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.00783/0.4461, allocations: 3.986 MB / 0.5285 GB, free: 4.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.4462, allocations: 9.75 kB / 0.5285 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001038/0.4473, allocations: 0.6942 MB / 0.5292 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009427/0.4567, allocations: 2.956 MB / 0.5321 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/0.4608, allocations: 1.811 MB / 0.5339 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.461, allocations: 185.7 kB / 0.534 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006962/0.4617, allocations: 240.5 kB / 0.5343 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.4792, allocations: 9.762 MB / 0.5438 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.773e-05/0.4793, allocations: 18.34 kB / 0.5438 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003999/0.4797, allocations: 114.2 kB / 0.5439 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003925/0.4836, allocations: 2.362 MB / 0.5462 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/0.5034, allocations: 8.948 MB / 0.555 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05068/0.5541, allocations: 29.72 MB / 0.584 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006711/0.5609, allocations: 3.478 MB / 0.5874 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.5626, allocations: 1.111 MB / 0.5885 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.574, allocations: 6.461 MB / 0.5948 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/0.5741, allocations: 51.14 kB / 0.5948 GB, free: 6.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 4.759e-06/0.5741, allocations: 0 / 0.5948 GB, free: 6.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=135): time 0.008238/0.5823, allocations: 3.13 MB / 0.5979 GB, free: 3.152 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.5824, allocations: 121 kB / 0.598 GB, free: 3.012 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005056/0.5875, allocations: 2.729 MB / 0.6007 GB, free: 268 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.5877, allocations: 37.7 kB / 0.6007 GB, free: 224 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002185/0.5899, allocations: 2.745 MB / 0.6034 GB, free: 13.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008022/0.5907, allocations: 0.5155 MB / 0.6039 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/0.5922, allocations: 0.9294 MB / 0.6048 GB, free: 12.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.5924, allocations: 301.1 kB / 0.6051 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/0.5945, allocations: 1.406 MB / 0.6065 GB, free: 10.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004103/0.5987, allocations: 4.233 MB / 0.6106 GB, free: 4.758 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007941/0.6066, allocations: 6.149 MB / 0.6166 GB, free: 13.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/0.6068, allocations: 32 kB / 0.6166 GB, free: 13.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.0111/0.6179, allocations: 5.45 MB / 0.622 GB, free: 8.227 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.618, allocations: 51.94 kB / 0.622 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/0.6182, allocations: 104 kB / 0.6221 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.6184, allocations: 132 kB / 0.6222 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/0.6215, allocations: 0.9942 MB / 0.6232 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001859/0.6217, allocations: 199.2 kB / 0.6234 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/0.625, allocations: 0.6223 MB / 0.624 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006014/0.6256, allocations: 283 kB / 0.6243 GB, free: 5.852 MB / 478.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.003677/0.6293, allocations: 1.979 MB / 0.6262 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/0.6298, allocations: 232.9 kB / 0.6264 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.6305, allocations: 288.8 kB / 0.6267 GB, free: 3.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.891e-05/0.6305, allocations: 16 kB / 0.6267 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.6305, allocations: 0 / 0.6267 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6305, allocations: 3.984 kB / 0.6267 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.6436, allocations: 6.195 MB / 0.6328 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/0.6436, allocations: 8.25 kB / 0.6328 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.6443, allocations: 167.7 kB / 0.6329 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.827e-05/0.6444, allocations: 12 kB / 0.633 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.183e-05/0.6445, allocations: 28.69 kB / 0.633 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.6445, allocations: 19.92 kB / 0.633 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.6445, allocations: 12 kB / 0.633 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.6471, allocations: 1.997 MB / 0.635 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006254/0.6478, allocations: 313.8 kB / 0.6353 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000482/0.6483, allocations: 20 kB / 0.6353 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009179/0.6492, allocations: 47.31 kB / 0.6353 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.6494, allocations: 84.23 kB / 0.6354 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.6495, allocations: 51.98 kB / 0.6355 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003599/0.6531, allocations: 1.666 MB / 0.6371 GB, free: 8.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6531, allocations: 0 / 0.6371 GB, free: 8.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004816/0.6579, allocations: 1.021 MB / 0.6381 GB, free: 7.406 MB / 494.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.003393/0.6613, allocations: 2.658 MB / 0.6407 GB, free: 4.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006845/0.6682, allocations: 4.084 MB / 0.6447 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.6682, allocations: 0 / 0.6447 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.6693, allocations: 0.7959 MB / 0.6454 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.6716, allocations: 299.8 kB / 0.6457 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05855/0.7301, allocations: 34.88 MB / 0.6798 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005308/0.7355, allocations: 3.103 MB / 0.6828 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003912/0.7394, allocations: 1.552 MB / 0.6843 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002532/0.742, allocations: 1.597 MB / 0.6859 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of SimCode: time 2.224e-06/0.742, allocations: 0 / 0.6859 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3774/1.119, allocations: 43.87 MB / 0.7287 GB, free: 164.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/1.12, allocations: 194.5 kB / 0.7289 GB, free: 164.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.045/4.165, allocations: 0 / 0.7289 GB, free: 164.4 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches