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.001326/0.001326, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001523/0.001523, allocations: 206 kB / 23.72 MB, free: 4.391 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2319/0.2319, allocations: 46.95 MB / 360.8 MB, free: 3.922 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.002297/0.002297, allocations: 95.78 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3262, allocations: 66.08 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01307/0.3392, allocations: 10.05 MB / 0.5705 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006373/0.3456, allocations: 2.913 MB / 0.5733 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.3471, allocations: 67.75 kB / 0.5734 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003286/0.3504, allocations: 1.541 MB / 0.5749 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004246/0.3547, allocations: 1.627 MB / 0.5765 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.3552, allocations: 115.8 kB / 0.5766 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005115/0.3603, allocations: 3.288 MB / 0.5798 GB, free: 348 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003765/0.3641, allocations: 1.901 MB / 0.5817 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.3662, allocations: 1.168 MB / 0.5828 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004083/0.3702, allocations: 2.524 MB / 0.5853 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000724/0.371, allocations: 228 kB / 0.5855 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.3726, allocations: 0.6241 MB / 0.5861 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001995/0.3746, allocations: 1.534 MB / 0.5876 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.3768, allocations: 1.28 MB / 0.5889 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007429/0.3842, allocations: 5.967 MB / 0.5947 GB, free: 1.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3842, allocations: 0 / 0.5947 GB, free: 1.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3842, allocations: 0 / 0.5947 GB, free: 1.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001652/0.3844, allocations: 0 / 0.5947 GB, free: 1.027 MB / 430.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.008067/0.3925, allocations: 4.029 MB / 0.5986 GB, free: 12.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3925, allocations: 11.97 kB / 0.5986 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001161/0.3937, allocations: 0.6877 MB / 0.5993 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.4038, allocations: 2.989 MB / 0.6022 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005041/0.4089, allocations: 1.799 MB / 0.604 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.4091, allocations: 192.7 kB / 0.6042 GB, free: 7.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.4102, allocations: 235.8 kB / 0.6044 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/0.4297, allocations: 9.753 MB / 0.6139 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.553e-05/0.4298, allocations: 19.81 kB / 0.6139 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008701/0.4307, allocations: 107.8 kB / 0.614 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004364/0.4351, allocations: 2.369 MB / 0.6164 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01898/0.454, allocations: 8.938 MB / 0.6251 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04749/0.5015, allocations: 28 MB / 0.6524 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006232/0.5078, allocations: 2.46 MB / 0.6548 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.5094, allocations: 1.025 MB / 0.6558 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.5202, allocations: 4.704 MB / 0.6604 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.5203, allocations: 43.22 kB / 0.6605 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.408e-06/0.5203, allocations: 7.938 kB / 0.6605 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008252/0.5285, allocations: 3.143 MB / 0.6635 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.5286, allocations: 111.5 kB / 0.6636 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005983/0.5346, allocations: 2.904 MB / 0.6665 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.5347, allocations: 41.7 kB / 0.6665 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00261/0.5373, allocations: 2.849 MB / 0.6693 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006914/0.538, allocations: 0.5388 MB / 0.6698 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001675/0.5397, allocations: 0.933 MB / 0.6707 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5398, allocations: 309.1 kB / 0.671 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.5421, allocations: 1.403 MB / 0.6724 GB, free: 4 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004949/0.5471, allocations: 4.229 MB / 0.6765 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00802/0.5551, allocations: 6.147 MB / 0.6825 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/0.5552, allocations: 31.94 kB / 0.6826 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009867/0.5651, allocations: 5.467 MB / 0.6879 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.5652, allocations: 44 kB / 0.688 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/0.5653, allocations: 104 kB / 0.6881 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.5655, allocations: 135.9 kB / 0.6882 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/0.5686, allocations: 0.9942 MB / 0.6892 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001935/0.5688, allocations: 199.2 kB / 0.6893 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/0.5718, allocations: 0.6364 MB / 0.69 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005989/0.5724, allocations: 292 kB / 0.6902 GB, free: 10.91 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.003344/0.5758, allocations: 1.975 MB / 0.6922 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004778/0.5763, allocations: 242.3 kB / 0.6924 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006365/0.5769, allocations: 288.8 kB / 0.6927 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.352e-05/0.5769, allocations: 16 kB / 0.6927 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5769, allocations: 0 / 0.6927 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.577, allocations: 11.97 kB / 0.6927 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.5889, allocations: 6.024 MB / 0.6986 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/0.5889, allocations: 8 kB / 0.6986 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007564/0.5897, allocations: 163.8 kB / 0.6988 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.073e-05/0.5897, allocations: 12 kB / 0.6988 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.5898, allocations: 24 kB / 0.6988 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.686e-05/0.5898, allocations: 19.92 kB / 0.6988 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/0.5898, allocations: 15.88 kB / 0.6988 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/0.5929, allocations: 2.015 MB / 0.7008 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000694/0.5936, allocations: 246 kB / 0.701 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/0.5941, allocations: 24 kB / 0.701 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009025/0.595, allocations: 39.95 kB / 0.7011 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.5951, allocations: 92.14 kB / 0.7012 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.5952, allocations: 47.98 kB / 0.7012 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003344/0.5986, allocations: 1.666 MB / 0.7028 GB, free: 13.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5986, allocations: 4 kB / 0.7028 GB, free: 13.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004422/0.603, allocations: 1.039 MB / 0.7039 GB, free: 12.64 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.003427/0.6064, allocations: 2.665 MB / 0.7065 GB, free: 9.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00533/0.6118, allocations: 3.138 MB / 0.7095 GB, free: 6.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.6118, allocations: 4 kB / 0.7095 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.6128, allocations: 0.742 MB / 0.7103 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.6146, allocations: 298.5 kB / 0.7105 GB, free: 5.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2719/0.8864, allocations: 31.05 MB / 0.7409 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002737/0.8892, allocations: 2.549 MB / 0.7434 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002725/0.8919, allocations: 1.551 MB / 0.7449 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/0.8933, allocations: 1.598 MB / 0.7464 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/0.8933, allocations: 0 / 0.7464 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06916/0.9625, allocations: 41.09 MB / 0.7866 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.36, allocations: 3.984 kB / 0.7866 GB, free: 107.7 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.386447484139353]