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.0016/0.0016, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001905/0.001905, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.55/1.55, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2446/0.2446, allocations: 46.93 MB / 361.6 MB, free: 4.16 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 75.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3176, allocations: 66.08 MB / 0.5615 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0145/0.3321, allocations: 11.58 MB / 0.5728 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007046/0.3391, allocations: 3.08 MB / 0.5758 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.341, allocations: 67.75 kB / 0.5759 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.3447, allocations: 1.6 MB / 0.5774 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.3492, allocations: 1.623 MB / 0.579 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.3499, allocations: 119.8 kB / 0.5791 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005484/0.3553, allocations: 3.308 MB / 0.5824 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.3585, allocations: 1.897 MB / 0.5842 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.3607, allocations: 1.168 MB / 0.5854 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/0.365, allocations: 2.595 MB / 0.5879 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009343/0.3659, allocations: 232 kB / 0.5881 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.3678, allocations: 0.7333 MB / 0.5888 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.3699, allocations: 1.546 MB / 0.5903 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002855/0.3727, allocations: 1.805 MB / 0.5921 GB, free: 4.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008369/0.3811, allocations: 5.947 MB / 0.5979 GB, free: 14.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.3811, allocations: 4 kB / 0.5979 GB, free: 14.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3811, allocations: 0 / 0.5979 GB, free: 14.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002041/0.3813, allocations: 3.938 kB / 0.5979 GB, free: 14.68 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.009324/0.3907, allocations: 4.025 MB / 0.6018 GB, free: 10.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.3907, allocations: 12.03 kB / 0.6019 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001316/0.3908, allocations: 92.86 kB / 0.6019 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001389/0.3922, allocations: 0.6877 MB / 0.6026 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/0.403, allocations: 2.985 MB / 0.6055 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004683/0.4077, allocations: 1.779 MB / 0.6073 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.4079, allocations: 192.4 kB / 0.6074 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.4089, allocations: 235.8 kB / 0.6077 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/0.4278, allocations: 9.76 MB / 0.6172 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.332e-05/0.4278, allocations: 15.81 kB / 0.6172 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005899/0.4284, allocations: 115.8 kB / 0.6173 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004235/0.4327, allocations: 2.354 MB / 0.6196 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.4514, allocations: 8.957 MB / 0.6284 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04891/0.5004, allocations: 29.48 MB / 0.6572 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006541/0.5069, allocations: 2.459 MB / 0.6596 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.5086, allocations: 1.018 MB / 0.6606 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.5198, allocations: 4.919 MB / 0.6654 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.5199, allocations: 39.22 kB / 0.6654 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.98e-06/0.5199, allocations: 0 / 0.6654 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008986/0.5289, allocations: 3.147 MB / 0.6685 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.529, allocations: 119.5 kB / 0.6686 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005201/0.5342, allocations: 2.734 MB / 0.6713 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.5344, allocations: 41.7 kB / 0.6713 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002955/0.5374, allocations: 2.849 MB / 0.6741 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001061/0.5384, allocations: 0.5427 MB / 0.6746 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/0.5401, allocations: 0.933 MB / 0.6755 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5403, allocations: 305.1 kB / 0.6758 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/0.5425, allocations: 1.403 MB / 0.6772 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005054/0.5475, allocations: 4.233 MB / 0.6813 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00925/0.5568, allocations: 6.147 MB / 0.6873 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001543/0.5569, allocations: 32 kB / 0.6873 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01387/0.5708, allocations: 5.463 MB / 0.6927 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.571, allocations: 48 kB / 0.6927 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002833/0.5712, allocations: 108.1 kB / 0.6928 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.5715, allocations: 136 kB / 0.693 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003906/0.5754, allocations: 0.9942 MB / 0.6939 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002318/0.5756, allocations: 191.3 kB / 0.6941 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004119/0.5797, allocations: 0.6281 MB / 0.6947 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008641/0.5806, allocations: 288 kB / 0.695 GB, free: 6.984 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.004589/0.5852, allocations: 1.978 MB / 0.6969 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006669/0.5858, allocations: 242.4 kB / 0.6972 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008082/0.5866, allocations: 292.8 kB / 0.6974 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.114e-05/0.5867, allocations: 19.94 kB / 0.6975 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.5867, allocations: 0 / 0.6975 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.5867, allocations: 3.984 kB / 0.6975 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.6009, allocations: 6.167 MB / 0.7035 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/0.6009, allocations: 8 kB / 0.7035 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.6016, allocations: 163.7 kB / 0.7037 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/0.6016, allocations: 8 kB / 0.7037 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/0.6017, allocations: 39.97 kB / 0.7037 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.373e-05/0.6017, allocations: 20.47 kB / 0.7037 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.746e-05/0.6017, allocations: 19.88 kB / 0.7037 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/0.6051, allocations: 2 MB / 0.7057 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/0.6058, allocations: 250 kB / 0.7059 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.606, allocations: 27.98 kB / 0.706 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.6067, allocations: 35.97 kB / 0.706 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.6069, allocations: 100.1 kB / 0.7061 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.607, allocations: 44 kB / 0.7061 GB, free: 11.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003559/0.6105, allocations: 1.67 MB / 0.7078 GB, free: 9.605 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6105, allocations: 0 / 0.7078 GB, free: 9.605 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004742/0.6153, allocations: 1.035 MB / 0.7088 GB, free: 8.566 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.003996/0.6193, allocations: 2.669 MB / 0.7114 GB, free: 5.762 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006451/0.6257, allocations: 3.131 MB / 0.7144 GB, free: 2.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.6257, allocations: 0 / 0.7144 GB, free: 2.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.627, allocations: 0.742 MB / 0.7152 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.6287, allocations: 306.2 kB / 0.7155 GB, free: 1.625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3848/1.014, allocations: 31.05 MB / 0.7458 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/1.017, allocations: 3.094 MB / 0.7488 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00285/1.02, allocations: 1.552 MB / 0.7503 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/1.022, allocations: 1.597 MB / 0.7519 GB, free: 144 MB / 0.5606 GB Notification: Performance of SimCode: time 1.683e-06/1.022, allocations: 0 / 0.7519 GB, free: 144 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0748/1.096, allocations: 45.58 MB / 0.7964 GB, free: 98.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.84/19.94, allocations: 6.406 kB / 0.7964 GB, free: 98.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.690124646003824]