Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 117.6 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2346/0.2346, allocations: 44.9 MB / 349.6 MB, free: 1.75 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 68.58 kB / 491.8 MB, free: 29.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1275, allocations: 64.26 MB / 0.543 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01449/0.142, allocations: 11.6 MB / 0.5543 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007296/0.1493, allocations: 3.049 MB / 0.5573 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.1512, allocations: 63.88 kB / 0.5574 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.155, allocations: 1.576 MB / 0.5589 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0045/0.1595, allocations: 1.615 MB / 0.5605 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.1601, allocations: 115.8 kB / 0.5606 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005319/0.1654, allocations: 3.332 MB / 0.5638 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.1684, allocations: 1.902 MB / 0.5657 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.1707, allocations: 1.156 MB / 0.5668 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004254/0.1749, allocations: 2.595 MB / 0.5694 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009298/0.1758, allocations: 232 kB / 0.5696 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.1777, allocations: 0.7371 MB / 0.5703 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001998/0.1797, allocations: 1.55 MB / 0.5718 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.1827, allocations: 1.84 MB / 0.5736 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009154/0.1918, allocations: 5.986 MB / 0.5795 GB, free: 14.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.1919, allocations: 11.94 kB / 0.5795 GB, free: 14.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1919, allocations: 0 / 0.5795 GB, free: 14.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002532/0.1921, allocations: 0 / 0.5795 GB, free: 14.6 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.01108/0.2032, allocations: 4.139 MB / 0.5835 GB, free: 10.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/0.2033, allocations: 12.03 kB / 0.5835 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002205/0.2055, allocations: 0.6877 MB / 0.5842 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.2159, allocations: 2.989 MB / 0.5871 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005098/0.221, allocations: 1.84 MB / 0.5889 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.2212, allocations: 192.7 kB / 0.5891 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009308/0.2221, allocations: 243.8 kB / 0.5893 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01796/0.2401, allocations: 9.749 MB / 0.5988 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.331e-05/0.2402, allocations: 23.81 kB / 0.5989 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005111/0.2407, allocations: 115.8 kB / 0.599 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00408/0.2448, allocations: 2.362 MB / 0.6013 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3056/0.5504, allocations: 8.949 MB / 0.61 GB, free: 52.99 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05185/0.6022, allocations: 29.56 MB / 0.6389 GB, free: 35.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006709/0.6089, allocations: 3.372 MB / 0.6422 GB, free: 33.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.6107, allocations: 1.024 MB / 0.6432 GB, free: 32.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.6223, allocations: 6.477 MB / 0.6495 GB, free: 28.26 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.6223, allocations: 39.16 kB / 0.6495 GB, free: 28.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 4.579e-06/0.6223, allocations: 0 / 0.6495 GB, free: 28.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=135): time 0.007417/0.6297, allocations: 3.146 MB / 0.6526 GB, free: 26.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.6298, allocations: 117.9 kB / 0.6527 GB, free: 26.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004044/0.6338, allocations: 2.746 MB / 0.6554 GB, free: 25.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001695/0.634, allocations: 38.39 kB / 0.6554 GB, free: 25.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.6355, allocations: 2.853 MB / 0.6582 GB, free: 22.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007038/0.6362, allocations: 0.5397 MB / 0.6588 GB, free: 22.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/0.6378, allocations: 0.9352 MB / 0.6597 GB, free: 21.17 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.953e-05/0.6378, allocations: 301.1 kB / 0.66 GB, free: 20.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.6397, allocations: 1.406 MB / 0.6613 GB, free: 19.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/0.6429, allocations: 4.233 MB / 0.6655 GB, free: 13.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005158/0.648, allocations: 6.148 MB / 0.6715 GB, free: 6.258 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.684e-05/0.6481, allocations: 28 kB / 0.6715 GB, free: 6.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008701/0.6568, allocations: 5.471 MB / 0.6768 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.6569, allocations: 48 kB / 0.6769 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/0.6571, allocations: 104.2 kB / 0.677 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.6572, allocations: 135.9 kB / 0.6771 GB, free: 488 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00337/0.6606, allocations: 0.9903 MB / 0.6781 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002468/0.6608, allocations: 195.2 kB / 0.6783 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/0.6647, allocations: 0.6263 MB / 0.6789 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009078/0.6656, allocations: 294.3 kB / 0.6792 GB, free: 14.38 MB / 478.1 MB 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.004295/0.6699, allocations: 1.975 MB / 0.6811 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006283/0.6705, allocations: 254.2 kB / 0.6813 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007691/0.6713, allocations: 288.8 kB / 0.6816 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.944e-05/0.6714, allocations: 17.22 kB / 0.6816 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.6714, allocations: 3.938 kB / 0.6816 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.6714, allocations: 3.984 kB / 0.6816 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.6873, allocations: 6.198 MB / 0.6877 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/0.6873, allocations: 8 kB / 0.6877 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008019/0.6881, allocations: 171.7 kB / 0.6879 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.499e-05/0.6881, allocations: 12 kB / 0.6879 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.6882, allocations: 24 kB / 0.6879 GB, free: 5.281 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.488e-05/0.6883, allocations: 20.55 kB / 0.6879 GB, free: 5.262 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/0.6883, allocations: 15.94 kB / 0.6879 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.6915, allocations: 2.007 MB / 0.6899 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008748/0.6923, allocations: 327.1 kB / 0.6902 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004889/0.6928, allocations: 20 kB / 0.6902 GB, free: 2.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/0.6938, allocations: 49.36 kB / 0.6903 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.694, allocations: 84.23 kB / 0.6903 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.6941, allocations: 51.73 kB / 0.6904 GB, free: 2.586 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003658/0.6978, allocations: 1.678 MB / 0.692 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6978, allocations: 0 / 0.692 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00477/0.7025, allocations: 1.051 MB / 0.6931 GB, free: 15.84 MB / 494.1 MB 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.003851/0.7064, allocations: 2.661 MB / 0.6957 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005739/0.7121, allocations: 3.143 MB / 0.6987 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.7121, allocations: 3.938 kB / 0.6987 GB, free: 9.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.7133, allocations: 0.7384 MB / 0.6995 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.7157, allocations: 305.5 kB / 0.6997 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06247/0.7782, allocations: 31.05 MB / 0.7301 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006591/0.7848, allocations: 3.1 MB / 0.7331 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004288/0.7891, allocations: 1.548 MB / 0.7346 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003333/0.7924, allocations: 1.604 MB / 0.7362 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/0.7924, allocations: 0 / 0.7362 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09743/0.8898, allocations: 41.82 MB / 0.777 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.23, allocations: 15.94 kB / 0.777 GB, free: 5.902 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.66018481599167]