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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001791/0.001791, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002155/0.002155, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.5 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2488/0.2488, allocations: 46.92 MB / 357 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 83.88 kB / 0.491 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1476, allocations: 66.05 MB / 0.5555 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01432/0.1619, allocations: 11.55 MB / 0.5667 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007905/0.1698, allocations: 3.073 MB / 0.5697 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.1723, allocations: 71.75 kB / 0.5698 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00393/0.1762, allocations: 1.592 MB / 0.5714 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005187/0.1814, allocations: 1.603 MB / 0.5729 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006985/0.1821, allocations: 123.8 kB / 0.573 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005943/0.188, allocations: 3.294 MB / 0.5763 GB, free: 180 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003712/0.1917, allocations: 1.906 MB / 0.5781 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.1942, allocations: 1.168 MB / 0.5793 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004441/0.1986, allocations: 2.591 MB / 0.5818 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009353/0.1995, allocations: 232 kB / 0.582 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.2016, allocations: 0.7293 MB / 0.5827 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.2037, allocations: 1.53 MB / 0.5842 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002643/0.2063, allocations: 1.812 MB / 0.586 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008025/0.2143, allocations: 5.943 MB / 0.5918 GB, free: 184 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.2143, allocations: 3.938 kB / 0.5918 GB, free: 180 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2143, allocations: 0 / 0.5918 GB, free: 180 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002162/0.2145, allocations: 0 / 0.5918 GB, free: 180 kB / 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.3272/0.5418, allocations: 4.1 MB / 0.5958 GB, free: 28.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.5418, allocations: 11.62 kB / 0.5958 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001856/0.5437, allocations: 0.6888 MB / 0.5965 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.555, allocations: 2.991 MB / 0.5994 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00468/0.5597, allocations: 1.843 MB / 0.6012 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.5599, allocations: 187.6 kB / 0.6014 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/0.5612, allocations: 236.8 kB / 0.6016 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01924/0.5804, allocations: 9.764 MB / 0.6111 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-05/0.5805, allocations: 17.41 kB / 0.6112 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006772/0.5812, allocations: 110.8 kB / 0.6113 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003935/0.5851, allocations: 2.369 MB / 0.6136 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/0.6021, allocations: 8.948 MB / 0.6223 GB, free: 18.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04722/0.6493, allocations: 29.56 MB / 0.6512 GB, free: 4.887 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007317/0.6566, allocations: 3.371 MB / 0.6545 GB, free: 1.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/0.6585, allocations: 1.018 MB / 0.6555 GB, free: 248 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/0.6709, allocations: 6.479 MB / 0.6618 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.671, allocations: 47.14 kB / 0.6618 GB, free: 9.328 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 5.3e-06/0.671, allocations: 0 / 0.6618 GB, free: 9.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=135): time 0.008814/0.6798, allocations: 3.137 MB / 0.6649 GB, free: 6.184 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/0.6799, allocations: 123.4 kB / 0.665 GB, free: 6.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005581/0.6855, allocations: 2.734 MB / 0.6677 GB, free: 3.285 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000203/0.6857, allocations: 41.7 kB / 0.6677 GB, free: 3.238 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002577/0.6882, allocations: 2.849 MB / 0.6705 GB, free: 408 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008209/0.6891, allocations: 0.5385 MB / 0.671 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/0.691, allocations: 0.9322 MB / 0.672 GB, free: 14.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6911, allocations: 309.1 kB / 0.6722 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002492/0.6936, allocations: 1.403 MB / 0.6736 GB, free: 13.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005463/0.6991, allocations: 4.228 MB / 0.6777 GB, free: 7.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00843/0.7075, allocations: 6.154 MB / 0.6838 GB, free: 48 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/0.7076, allocations: 28 kB / 0.6838 GB, free: 20 kB / 494.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01146/0.7191, allocations: 5.455 MB / 0.6891 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.7192, allocations: 59.75 kB / 0.6892 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/0.7194, allocations: 100 kB / 0.6893 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.7196, allocations: 132 kB / 0.6894 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/0.7231, allocations: 0.9942 MB / 0.6904 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002555/0.7234, allocations: 195.2 kB / 0.6905 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003479/0.7269, allocations: 0.6281 MB / 0.6912 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000817/0.7277, allocations: 291.6 kB / 0.6914 GB, free: 8.176 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003903/0.7316, allocations: 1.973 MB / 0.6934 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006244/0.7322, allocations: 242.3 kB / 0.6936 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000887/0.7331, allocations: 288.8 kB / 0.6939 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.923e-05/0.7332, allocations: 16 kB / 0.6939 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.7332, allocations: 256 / 0.6939 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.7332, allocations: 8.172 kB / 0.6939 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.7463, allocations: 6.201 MB / 0.7 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/0.7463, allocations: 11.98 kB / 0.7 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007131/0.747, allocations: 163.7 kB / 0.7001 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.201e-05/0.747, allocations: 12.78 kB / 0.7001 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-05/0.7471, allocations: 31.94 kB / 0.7002 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.985e-05/0.7472, allocations: 23.92 kB / 0.7002 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.7472, allocations: 11.94 kB / 0.7002 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.7499, allocations: 2.009 MB / 0.7022 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006708/0.7506, allocations: 323.1 kB / 0.7025 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004078/0.751, allocations: 25.88 kB / 0.7025 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008542/0.7519, allocations: 43.95 kB / 0.7025 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.7521, allocations: 80.3 kB / 0.7026 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.7522, allocations: 54.02 kB / 0.7027 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003267/0.7555, allocations: 1.67 MB / 0.7043 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3e-07/0.7555, allocations: 0 / 0.7043 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004387/0.7598, allocations: 1.038 MB / 0.7053 GB, free: 9.676 MB / 0.5137 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 (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.003625/0.7635, allocations: 2.671 MB / 0.7079 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005557/0.769, allocations: 3.132 MB / 0.711 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.769, allocations: 0 / 0.711 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.7702, allocations: 0.7423 MB / 0.7117 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.7721, allocations: 301.5 kB / 0.712 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05653/0.8286, allocations: 31.05 MB / 0.7423 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00579/0.8344, allocations: 3.096 MB / 0.7453 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00394/0.8384, allocations: 1.552 MB / 0.7468 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003007/0.8414, allocations: 1.597 MB / 0.7484 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of SimCode: time 1.352e-06/0.8414, allocations: 0 / 0.7484 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09105/0.9324, allocations: 41.74 MB / 0.7892 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/16.9, allocations: 6.797 kB / 0.7892 GB, free: 15.88 MB / 0.6075 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable surfaceWireframe.nu in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceWireframe.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceWireframe.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceWireframe.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceSolid.nu in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceSolid.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceSolid.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceSolid.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.158811794011854]