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: 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_cpp_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_cpp_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000989/0.000989, allocations: 200.9 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007448/0.0007448, allocations: 96.42 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1768/0.1768, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002328/0.0002329, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1022, allocations: 62.95 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.1989/0.3011, allocations: 26.13 MB / 0.5408 GB, free: 11.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.3149, allocations: 5.593 MB / 0.5463 GB, free: 7.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006824/0.3218, allocations: 122.1 kB / 0.5464 GB, free: 7.551 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005051/0.3268, allocations: 1.267 MB / 0.5477 GB, free: 7.113 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.3391, allocations: 3.828 MB / 0.5514 GB, free: 5.324 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.3404, allocations: 114.8 kB / 0.5515 GB, free: 5.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0348/0.3752, allocations: 31.23 MB / 0.582 GB, free: 9.289 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003941/0.3792, allocations: 2.625 MB / 0.5846 GB, free: 6.621 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.381, allocations: 0.9611 MB / 0.5855 GB, free: 5.656 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06289/0.4439, allocations: 57.43 MB / 0.6416 GB, free: 12.16 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000849/0.4448, allocations: 120 kB / 0.6417 GB, free: 12.04 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.4465, allocations: 0.5421 MB / 0.6422 GB, free: 11.5 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.4483, allocations: 1.367 MB / 0.6436 GB, free: 10.12 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.4496, allocations: 0.7258 MB / 0.6443 GB, free: 9.391 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004927/0.4545, allocations: 4.544 MB / 0.6487 GB, free: 4.836 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.4546, allocations: 4 kB / 0.6487 GB, free: 4.832 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4546, allocations: 4 kB / 0.6487 GB, free: 4.828 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002891/0.4549, allocations: 0 / 0.6487 GB, free: 4.828 MB / 458.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.007911/0.4628, allocations: 3.335 MB / 0.652 GB, free: 1.426 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4629, allocations: 8.031 kB / 0.652 GB, free: 1.418 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009445/0.4723, allocations: 3.048 MB / 0.655 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003525/0.4759, allocations: 1.795 MB / 0.6567 GB, free: 12.51 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.476, allocations: 188.6 kB / 0.6569 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007618/0.4768, allocations: 235.8 kB / 0.6571 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/0.4924, allocations: 9.737 MB / 0.6666 GB, free: 1.984 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.628e-05/0.4925, allocations: 15.88 kB / 0.6666 GB, free: 1.969 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005613/0.493, allocations: 115.8 kB / 0.6668 GB, free: 1.855 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00355/0.4966, allocations: 2.358 MB / 0.6691 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01535/0.512, allocations: 8.909 MB / 0.6778 GB, free: 6.566 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04174/0.5537, allocations: 29.73 MB / 0.7068 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006122/0.5599, allocations: 3.472 MB / 0.7102 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.5615, allocations: 1.097 MB / 0.7113 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1961/0.7577, allocations: 6.463 MB / 0.7176 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.7578, allocations: 46.48 kB / 0.7176 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=135): time 4.218e-06/0.7578, allocations: 0 / 0.7176 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135): time 0.006987/0.7648, allocations: 3.121 MB / 0.7207 GB, free: 171.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.7648, allocations: 126.6 kB / 0.7208 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00333/0.7682, allocations: 2.714 MB / 0.7234 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.7682, allocations: 42.17 kB / 0.7235 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.7695, allocations: 2.74 MB / 0.7261 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.7698, allocations: 0.5112 MB / 0.7266 GB, free: 168 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.77, allocations: 88.52 kB / 0.7267 GB, free: 168 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002357/0.7702, allocations: 0.5 MB / 0.7272 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.7721, allocations: 1.386 MB / 0.7286 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/0.7748, allocations: 4.211 MB / 0.7327 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/0.7776, allocations: 2.433 MB / 0.7351 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-05/0.7777, allocations: 27.97 kB / 0.7351 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.00703/0.7847, allocations: 5.422 MB / 0.7404 GB, free: 160 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.824e-05/0.7848, allocations: 53.36 kB / 0.7404 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.873e-05/0.7849, allocations: 100.8 kB / 0.7405 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.785, allocations: 146.3 kB / 0.7407 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/0.7874, allocations: 0.9919 MB / 0.7416 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.752e-05/0.7875, allocations: 199.3 kB / 0.7418 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.7899, allocations: 0.6228 MB / 0.7424 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/0.7902, allocations: 286.5 kB / 0.7427 GB, free: 159.4 MB / 0.5105 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.002156/0.7923, allocations: 1.97 MB / 0.7446 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.7926, allocations: 235.5 kB / 0.7449 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.7929, allocations: 290.7 kB / 0.7451 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/0.7929, allocations: 16.12 kB / 0.7452 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.7929, allocations: 0 / 0.7452 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.793, allocations: 3.797 kB / 0.7452 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006393/0.7994, allocations: 6.192 MB / 0.7512 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.7994, allocations: 9.781 kB / 0.7512 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.7999, allocations: 162.2 kB / 0.7514 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.7999, allocations: 15.8 kB / 0.7514 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.8, allocations: 28 kB / 0.7514 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.8, allocations: 12 kB / 0.7514 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.8, allocations: 15.94 kB / 0.7514 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.8016, allocations: 1.987 MB / 0.7534 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/0.802, allocations: 327.8 kB / 0.7537 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.8022, allocations: 24 kB / 0.7537 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005955/0.8028, allocations: 48.44 kB / 0.7538 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.8029, allocations: 82.19 kB / 0.7538 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/0.803, allocations: 49.56 kB / 0.7539 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001904/0.8049, allocations: 1.655 MB / 0.7555 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8049, allocations: 4 kB / 0.7555 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003599/0.8085, allocations: 1.048 MB / 0.7565 GB, free: 149.9 MB / 0.5105 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.0002928/0.8088, allocations: 151.9 kB / 0.7567 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003906/0.8128, allocations: 3.237 MB / 0.7598 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8128, allocations: 2.25 kB / 0.7598 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006744/0.8135, allocations: 0.7954 MB / 0.7606 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.8148, allocations: 284.8 kB / 0.7609 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.8258, allocations: 9.855 MB / 0.7705 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002353/0.8282, allocations: 3.114 MB / 0.7735 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005841/0.8288, allocations: 207.4 kB / 0.7737 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of SimCode: time 6.42e-07/0.8288, allocations: 0 / 0.7737 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.0462/0.875, allocations: 43.81 MB / 0.8165 GB, free: 88.82 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.makefile (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 & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/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