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.001899/0.001899, allocations: 108.3 kB / 20.48 MB, free: 0.9805 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.001454/0.001454, allocations: 219.2 kB / 23.78 MB, free: 4.215 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.44/1.44, allocations: 230.5 MB / 257.5 MB, free: 7.727 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.2454/0.2454, allocations: 46.94 MB / 360.9 MB, free: 3.867 MB / 286.1 MB " [Timeout remaining time 179] 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.002401/0.002401, allocations: 75.88 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3481, allocations: 66.08 MB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01415/0.3622, allocations: 10.06 MB / 0.5706 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00904/0.3712, allocations: 2.917 MB / 0.5734 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002971/0.3742, allocations: 67.75 kB / 0.5735 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004245/0.3785, allocations: 1.545 MB / 0.575 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004649/0.3831, allocations: 1.619 MB / 0.5766 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.3837, allocations: 115.8 kB / 0.5767 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005062/0.3887, allocations: 3.3 MB / 0.5799 GB, free: 320 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002666/0.3914, allocations: 1.901 MB / 0.5818 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.3934, allocations: 1.164 MB / 0.5829 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004317/0.3977, allocations: 2.524 MB / 0.5854 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007982/0.3985, allocations: 228 kB / 0.5856 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.4, allocations: 0.6163 MB / 0.5862 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.402, allocations: 1.538 MB / 0.5877 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002276/0.4043, allocations: 1.28 MB / 0.589 GB, free: 7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008449/0.4127, allocations: 5.967 MB / 0.5948 GB, free: 1.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.4127, allocations: 4 kB / 0.5948 GB, free: 1.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.4127, allocations: 0 / 0.5948 GB, free: 1.004 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002492/0.413, allocations: 0 / 0.5948 GB, free: 1.004 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.01087/0.4239, allocations: 4.037 MB / 0.5987 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.4239, allocations: 12.03 kB / 0.5987 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001855/0.4258, allocations: 0.6916 MB / 0.5994 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.4363, allocations: 3.02 MB / 0.6024 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004733/0.441, allocations: 1.787 MB / 0.6041 GB, free: 7.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.4412, allocations: 188.7 kB / 0.6043 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.4423, allocations: 239.8 kB / 0.6045 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/0.4606, allocations: 9.772 MB / 0.6141 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.356e-05/0.4607, allocations: 19.81 kB / 0.6141 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004485/0.4611, allocations: 111.8 kB / 0.6142 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004002/0.4651, allocations: 2.369 MB / 0.6165 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01932/0.4845, allocations: 8.951 MB / 0.6252 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05194/0.5364, allocations: 28.19 MB / 0.6528 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006838/0.5432, allocations: 2.593 MB / 0.6553 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.545, allocations: 1.021 MB / 0.6563 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.5565, allocations: 4.872 MB / 0.6611 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.5565, allocations: 43.22 kB / 0.6611 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.999e-06/0.5565, allocations: 0 / 0.6611 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008797/0.5653, allocations: 3.342 MB / 0.6644 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.5654, allocations: 111.5 kB / 0.6645 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006879/0.5723, allocations: 2.908 MB / 0.6673 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.5725, allocations: 37.7 kB / 0.6673 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002824/0.5753, allocations: 2.849 MB / 0.6701 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.5764, allocations: 0.5388 MB / 0.6707 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002511/0.579, allocations: 0.9408 MB / 0.6716 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.5791, allocations: 301.1 kB / 0.6719 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/0.582, allocations: 1.403 MB / 0.6732 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005906/0.5879, allocations: 4.229 MB / 0.6774 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009133/0.597, allocations: 6.151 MB / 0.6834 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001832/0.5972, allocations: 28 kB / 0.6834 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01299/0.6102, allocations: 5.473 MB / 0.6887 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.6103, allocations: 48 kB / 0.6888 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/0.6105, allocations: 103.9 kB / 0.6889 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.6107, allocations: 136 kB / 0.689 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/0.614, allocations: 0.9903 MB / 0.69 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002041/0.6142, allocations: 195.2 kB / 0.6902 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/0.6175, allocations: 0.6358 MB / 0.6908 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007141/0.6182, allocations: 288 kB / 0.6911 GB, free: 10.14 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.00369/0.6219, allocations: 1.977 MB / 0.693 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005061/0.6224, allocations: 250.3 kB / 0.6932 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000708/0.6231, allocations: 292.7 kB / 0.6935 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-05/0.6232, allocations: 16 kB / 0.6935 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.6232, allocations: 0 / 0.6935 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.6232, allocations: 3.984 kB / 0.6935 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.6354, allocations: 6.059 MB / 0.6994 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.6354, allocations: 8 kB / 0.6995 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007619/0.6361, allocations: 167.8 kB / 0.6996 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/0.6362, allocations: 12 kB / 0.6996 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.6363, allocations: 28 kB / 0.6997 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-05/0.6363, allocations: 19.92 kB / 0.6997 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/0.6363, allocations: 11.94 kB / 0.6997 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.6391, allocations: 2.007 MB / 0.7016 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006758/0.6398, allocations: 246 kB / 0.7019 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004074/0.6402, allocations: 31.98 kB / 0.7019 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.641, allocations: 43.95 kB / 0.702 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.6412, allocations: 84.14 kB / 0.702 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.6413, allocations: 51.98 kB / 0.7021 GB, free: 14.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003282/0.6446, allocations: 1.67 MB / 0.7037 GB, free: 12.87 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6446, allocations: 0 / 0.7037 GB, free: 12.87 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005196/0.6498, allocations: 1.032 MB / 0.7047 GB, free: 11.84 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.004154/0.654, allocations: 2.669 MB / 0.7073 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006103/0.6601, allocations: 3.138 MB / 0.7104 GB, free: 5.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/0.6601, allocations: 0 / 0.7104 GB, free: 5.922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.6613, allocations: 0.7398 MB / 0.7111 GB, free: 5.184 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.6636, allocations: 306.7 kB / 0.7114 GB, free: 4.887 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3277/0.9913, allocations: 31.05 MB / 0.7417 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/0.9942, allocations: 2.552 MB / 0.7442 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002788/0.997, allocations: 1.549 MB / 0.7457 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/0.9986, allocations: 1.6 MB / 0.7473 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/0.9986, allocations: 0 / 0.7473 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07204/1.071, allocations: 41.09 MB / 0.7874 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16.11, allocations: 15.92 kB / 0.7874 GB, free: 106.5 MB / 0.5606 GB " [Timeout remaining time 644] (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: 19.258555351989344]