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.001916/0.001916, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002474/0.002474, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.517/1.517, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2433/0.2433, allocations: 46.93 MB / 360.8 MB, free: 4.176 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.002425/0.002425, allocations: 80.05 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3825, allocations: 66.08 MB / 0.5607 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01486/0.3974, allocations: 11.58 MB / 0.572 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00755/0.4049, allocations: 3.084 MB / 0.575 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.4069, allocations: 71.75 kB / 0.5751 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003822/0.4107, allocations: 1.6 MB / 0.5767 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.4152, allocations: 1.627 MB / 0.5783 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.4158, allocations: 111.8 kB / 0.5784 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005364/0.4212, allocations: 3.302 MB / 0.5816 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003037/0.4242, allocations: 1.909 MB / 0.5834 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.4264, allocations: 1.16 MB / 0.5846 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004206/0.4307, allocations: 2.603 MB / 0.5871 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000881/0.4315, allocations: 232 kB / 0.5873 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.4335, allocations: 0.7332 MB / 0.5881 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002157/0.4356, allocations: 1.542 MB / 0.5896 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002932/0.4386, allocations: 1.808 MB / 0.5913 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008369/0.4469, allocations: 5.947 MB / 0.5971 GB, free: 14.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.4469, allocations: 0 / 0.5971 GB, free: 14.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.4469, allocations: 7.922 kB / 0.5971 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002157/0.4471, allocations: 0 / 0.5971 GB, free: 14.96 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.01036/0.4575, allocations: 4.025 MB / 0.6011 GB, free: 10.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.4576, allocations: 11.97 kB / 0.6011 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001558/0.4591, allocations: 0.6877 MB / 0.6018 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.4692, allocations: 2.989 MB / 0.6047 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004703/0.4739, allocations: 1.771 MB / 0.6064 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.4741, allocations: 192.7 kB / 0.6066 GB, free: 5.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.4751, allocations: 235.8 kB / 0.6068 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/0.4929, allocations: 9.76 MB / 0.6164 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-05/0.493, allocations: 15.81 kB / 0.6164 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005585/0.4936, allocations: 115.8 kB / 0.6165 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003997/0.4976, allocations: 2.358 MB / 0.6188 GB, free: 8.324 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/0.516, allocations: 8.955 MB / 0.6275 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04837/0.5643, allocations: 29.46 MB / 0.6563 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006513/0.5709, allocations: 2.471 MB / 0.6587 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.5726, allocations: 1.013 MB / 0.6597 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.5841, allocations: 4.919 MB / 0.6645 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/0.5842, allocations: 47.2 kB / 0.6645 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.471e-06/0.5842, allocations: 0 / 0.6645 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008375/0.5926, allocations: 3.135 MB / 0.6676 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.5927, allocations: 127.4 kB / 0.6677 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004647/0.5973, allocations: 2.73 MB / 0.6704 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.5975, allocations: 45.67 kB / 0.6704 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002398/0.5999, allocations: 2.845 MB / 0.6732 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007684/0.6007, allocations: 0.5389 MB / 0.6737 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.6021, allocations: 0.933 MB / 0.6747 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6022, allocations: 313.1 kB / 0.675 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.6045, allocations: 1.399 MB / 0.6763 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005069/0.6096, allocations: 4.229 MB / 0.6805 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008477/0.6181, allocations: 6.155 MB / 0.6865 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/0.6182, allocations: 32.25 kB / 0.6865 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01165/0.6298, allocations: 5.467 MB / 0.6918 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.55e-05/0.6299, allocations: 48 kB / 0.6919 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001616/0.6301, allocations: 104 kB / 0.692 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.6303, allocations: 135.9 kB / 0.6921 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/0.6337, allocations: 0.9942 MB / 0.6931 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001977/0.6339, allocations: 191.2 kB / 0.6933 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/0.6374, allocations: 0.632 MB / 0.6939 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007078/0.6381, allocations: 284 kB / 0.6941 GB, free: 7.363 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.00375/0.6418, allocations: 1.983 MB / 0.6961 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005356/0.6424, allocations: 246.3 kB / 0.6963 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/0.6431, allocations: 288.8 kB / 0.6966 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.406e-05/0.6431, allocations: 16 kB / 0.6966 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.6431, allocations: 0 / 0.6966 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.6431, allocations: 3.984 kB / 0.6966 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.6552, allocations: 6.167 MB / 0.7026 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.6552, allocations: 9 kB / 0.7026 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006959/0.6559, allocations: 167.7 kB / 0.7028 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.161e-05/0.6559, allocations: 12 kB / 0.7028 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.656, allocations: 28 kB / 0.7028 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/0.656, allocations: 19.92 kB / 0.7029 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/0.656, allocations: 15.88 kB / 0.7029 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.6588, allocations: 2.011 MB / 0.7048 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006593/0.6595, allocations: 246 kB / 0.7051 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.6597, allocations: 24 kB / 0.7051 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.6605, allocations: 39.95 kB / 0.7051 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.6606, allocations: 88.2 kB / 0.7052 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.677e-05/0.6607, allocations: 55.91 kB / 0.7053 GB, free: 11.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003063/0.6638, allocations: 1.666 MB / 0.7069 GB, free: 9.988 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6638, allocations: 3.938 kB / 0.7069 GB, free: 9.984 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004816/0.6686, allocations: 1.032 MB / 0.7079 GB, free: 8.949 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.00371/0.6723, allocations: 2.677 MB / 0.7105 GB, free: 6.137 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0057/0.678, allocations: 3.127 MB / 0.7136 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.678, allocations: 0 / 0.7136 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.6792, allocations: 0.7469 MB / 0.7143 GB, free: 2.297 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.681, allocations: 299.4 kB / 0.7146 GB, free: 2.008 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3389/1.02, allocations: 31.05 MB / 0.7449 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00363/1.024, allocations: 3.096 MB / 0.7479 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002915/1.026, allocations: 1.547 MB / 0.7495 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/1.028, allocations: 1.601 MB / 0.751 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/1.028, allocations: 0 / 0.751 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08415/1.113, allocations: 45.56 MB / 0.7955 GB, free: 99.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.84/19.95, allocations: 10.06 kB / 0.7955 GB, free: 99.24 MB / 0.5606 GB " [Timeout remaining time 640] (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: 23.195374078000896]