Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 212.3 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2454/0.2454, allocations: 46.93 MB / 360.9 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.91 kB / 0.4961 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.365, allocations: 66.03 MB / 0.5606 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01401/0.379, allocations: 11.58 MB / 0.5719 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007152/0.3862, allocations: 3.08 MB / 0.575 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.3881, allocations: 67.81 kB / 0.575 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003662/0.3918, allocations: 1.604 MB / 0.5766 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.3962, allocations: 1.623 MB / 0.5782 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.3968, allocations: 111.9 kB / 0.5783 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00524/0.4021, allocations: 3.309 MB / 0.5815 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/0.4052, allocations: 1.901 MB / 0.5834 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002301/0.4075, allocations: 1.164 MB / 0.5845 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004424/0.412, allocations: 2.61 MB / 0.587 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009325/0.4129, allocations: 228 kB / 0.5873 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.4147, allocations: 0.7294 MB / 0.588 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002199/0.4169, allocations: 1.538 MB / 0.5895 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002868/0.4198, allocations: 1.812 MB / 0.5912 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00863/0.4284, allocations: 5.947 MB / 0.5971 GB, free: 14.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.567e-06/0.4284, allocations: 0 / 0.5971 GB, free: 14.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4284, allocations: 0 / 0.5971 GB, free: 14.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002297/0.4287, allocations: 0 / 0.5971 GB, free: 14.86 MB / 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.01003/0.4387, allocations: 4.025 MB / 0.601 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4387, allocations: 8.031 kB / 0.601 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001764/0.4405, allocations: 0.6916 MB / 0.6017 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.4507, allocations: 2.985 MB / 0.6046 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005067/0.4558, allocations: 1.783 MB / 0.6063 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.456, allocations: 184.7 kB / 0.6065 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.457, allocations: 243.8 kB / 0.6067 GB, free: 4.836 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/0.4755, allocations: 9.756 MB / 0.6163 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.111e-05/0.4756, allocations: 19.81 kB / 0.6163 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006513/0.4762, allocations: 115.8 kB / 0.6164 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004087/0.4803, allocations: 2.365 MB / 0.6187 GB, free: 8.203 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01953/0.4999, allocations: 8.94 MB / 0.6274 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05074/0.5506, allocations: 29.48 MB / 0.6562 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006713/0.5573, allocations: 2.467 MB / 0.6586 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.5591, allocations: 1.017 MB / 0.6596 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.5707, allocations: 4.911 MB / 0.6644 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.622e-05/0.5708, allocations: 51.16 kB / 0.6645 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.409e-06/0.5708, allocations: 4 kB / 0.6645 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008768/0.5795, allocations: 3.139 MB / 0.6675 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/0.5796, allocations: 111.5 kB / 0.6676 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004886/0.5845, allocations: 2.738 MB / 0.6703 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.5847, allocations: 45.69 kB / 0.6704 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0026/0.5873, allocations: 2.841 MB / 0.6731 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008017/0.5881, allocations: 0.5466 MB / 0.6737 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.5897, allocations: 0.9369 MB / 0.6746 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5899, allocations: 301.1 kB / 0.6749 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/0.5923, allocations: 1.403 MB / 0.6762 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005568/0.5979, allocations: 4.233 MB / 0.6804 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008243/0.6061, allocations: 6.151 MB / 0.6864 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/0.6062, allocations: 28 kB / 0.6864 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01092/0.6172, allocations: 5.463 MB / 0.6917 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.165e-05/0.6172, allocations: 48 kB / 0.6918 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/0.6174, allocations: 100 kB / 0.6919 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.6175, allocations: 136.8 kB / 0.692 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/0.6209, allocations: 0.9942 MB / 0.693 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002089/0.6211, allocations: 199.2 kB / 0.6932 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/0.625, allocations: 0.6281 MB / 0.6938 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008333/0.6259, allocations: 288 kB / 0.6941 GB, free: 7.246 MB / 0.5294 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.003915/0.6298, allocations: 1.973 MB / 0.696 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005226/0.6303, allocations: 242.5 kB / 0.6962 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000695/0.631, allocations: 292.8 kB / 0.6965 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.754e-05/0.631, allocations: 16 kB / 0.6965 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.6311, allocations: 7.938 kB / 0.6965 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.6311, allocations: 3.984 kB / 0.6965 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.6435, allocations: 6.168 MB / 0.7026 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/0.6435, allocations: 8 kB / 0.7026 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/0.6443, allocations: 159.8 kB / 0.7027 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-05/0.6443, allocations: 15.94 kB / 0.7027 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.6444, allocations: 31.98 kB / 0.7028 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-05/0.6444, allocations: 12 kB / 0.7028 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/0.6445, allocations: 11.94 kB / 0.7028 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.6473, allocations: 2.015 MB / 0.7047 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/0.648, allocations: 246 kB / 0.705 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/0.6483, allocations: 24.23 kB / 0.705 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007138/0.649, allocations: 51.97 kB / 0.7051 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.6491, allocations: 84.12 kB / 0.7051 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-05/0.6492, allocations: 55.98 kB / 0.7052 GB, free: 11.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003046/0.6523, allocations: 1.674 MB / 0.7068 GB, free: 9.859 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6523, allocations: 0 / 0.7068 GB, free: 9.859 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004384/0.6567, allocations: 1.032 MB / 0.7078 GB, free: 8.824 MB / 0.545 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.003509/0.6602, allocations: 2.661 MB / 0.7104 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005551/0.6657, allocations: 3.141 MB / 0.7135 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.6657, allocations: 0 / 0.7135 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.6669, allocations: 0.744 MB / 0.7142 GB, free: 2.176 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.6688, allocations: 304.7 kB / 0.7145 GB, free: 1.887 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3192/0.988, allocations: 31.06 MB / 0.7448 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003412/0.9914, allocations: 3.092 MB / 0.7479 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002914/0.9943, allocations: 1.554 MB / 0.7494 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/0.9962, allocations: 1.597 MB / 0.7509 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/0.9962, allocations: 0 / 0.7509 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07576/1.072, allocations: 45.56 MB / 0.7954 GB, free: 99.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.98/20.05, allocations: 15.98 kB / 0.7954 GB, free: 99.01 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceWireframe.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceWireframe.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceWireframe.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceSolid.nu in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceSolid.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceSolid.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceSolid.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.330292828999518]