Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2483/0.2483, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 68.12 kB / 0.4909 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1381, allocations: 65.99 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01534/0.1534, allocations: 11.56 MB / 0.5666 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006785/0.1602, allocations: 3.076 MB / 0.5696 GB, free: 7.137 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.1617, allocations: 71.75 kB / 0.5697 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003526/0.1653, allocations: 1.592 MB / 0.5713 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004063/0.1693, allocations: 1.603 MB / 0.5728 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.1699, allocations: 119.8 kB / 0.573 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004902/0.1748, allocations: 3.296 MB / 0.5762 GB, free: 452 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003286/0.1781, allocations: 1.91 MB / 0.578 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.1805, allocations: 1.16 MB / 0.5792 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004487/0.185, allocations: 2.587 MB / 0.5817 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.186, allocations: 235.9 kB / 0.5819 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.1883, allocations: 0.7333 MB / 0.5826 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002463/0.1907, allocations: 1.534 MB / 0.5841 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003372/0.1941, allocations: 1.808 MB / 0.5859 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008613/0.2027, allocations: 5.947 MB / 0.5917 GB, free: 452 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2027, allocations: 0 / 0.5917 GB, free: 452 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2027, allocations: 4 kB / 0.5917 GB, free: 448 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002139/0.2029, allocations: 0 / 0.5917 GB, free: 448 kB / 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.2461/0.4491, allocations: 4.096 MB / 0.5957 GB, free: 33.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.4491, allocations: 10.48 kB / 0.5957 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001763/0.4509, allocations: 0.6904 MB / 0.5964 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.4622, allocations: 2.988 MB / 0.5993 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/0.4668, allocations: 1.849 MB / 0.6011 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.467, allocations: 180.9 kB / 0.6013 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.4684, allocations: 237.2 kB / 0.6015 GB, free: 32.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01874/0.4871, allocations: 9.763 MB / 0.6111 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.374e-05/0.4872, allocations: 18.84 kB / 0.6111 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006807/0.4879, allocations: 113.1 kB / 0.6112 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00383/0.4917, allocations: 2.369 MB / 0.6135 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.5079, allocations: 8.944 MB / 0.6222 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0433/0.5512, allocations: 29.57 MB / 0.6511 GB, free: 7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00814/0.5594, allocations: 3.363 MB / 0.6544 GB, free: 3.391 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.5614, allocations: 1.022 MB / 0.6554 GB, free: 2.355 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/0.5749, allocations: 6.47 MB / 0.6617 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.5749, allocations: 43.22 kB / 0.6617 GB, free: 11.42 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 6.142e-06/0.575, allocations: 0 / 0.6617 GB, free: 11.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=135): time 0.009698/0.5847, allocations: 3.151 MB / 0.6648 GB, free: 8.262 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.5848, allocations: 115.5 kB / 0.6649 GB, free: 8.125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005961/0.5907, allocations: 2.736 MB / 0.6676 GB, free: 5.371 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002296/0.591, allocations: 37.7 kB / 0.6676 GB, free: 5.328 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003037/0.594, allocations: 2.853 MB / 0.6704 GB, free: 2.445 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.595, allocations: 0.5388 MB / 0.671 GB, free: 1.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002398/0.5974, allocations: 0.9369 MB / 0.6719 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5976, allocations: 305.1 kB / 0.6722 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00273/0.6003, allocations: 1.406 MB / 0.6735 GB, free: 15.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005497/0.6058, allocations: 4.229 MB / 0.6777 GB, free: 9.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008458/0.6143, allocations: 6.151 MB / 0.6837 GB, free: 2.039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.836e-05/0.6143, allocations: 32 kB / 0.6837 GB, free: 2.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01143/0.6258, allocations: 5.457 MB / 0.689 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.6259, allocations: 52 kB / 0.6891 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/0.6261, allocations: 100 kB / 0.6892 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/0.6264, allocations: 135.9 kB / 0.6893 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/0.6299, allocations: 0.9958 MB / 0.6903 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002653/0.6301, allocations: 191.2 kB / 0.6905 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003633/0.6338, allocations: 0.6359 MB / 0.6911 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008371/0.6346, allocations: 287.9 kB / 0.6914 GB, free: 10.16 MB / 0.4981 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.004296/0.6389, allocations: 1.979 MB / 0.6933 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006739/0.6396, allocations: 242.3 kB / 0.6935 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009391/0.6405, allocations: 292.7 kB / 0.6938 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.393e-05/0.6406, allocations: 19.98 kB / 0.6938 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.6406, allocations: 4 kB / 0.6938 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.6406, allocations: 4.172 kB / 0.6938 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.6551, allocations: 6.192 MB / 0.6999 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/0.6551, allocations: 15.92 kB / 0.6999 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/0.6559, allocations: 159.8 kB / 0.7 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.115e-05/0.6559, allocations: 8.812 kB / 0.7 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.656, allocations: 35.94 kB / 0.7001 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.076e-05/0.6561, allocations: 19.92 kB / 0.7001 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.6561, allocations: 15.94 kB / 0.7001 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/0.6593, allocations: 2.007 MB / 0.7021 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/0.66, allocations: 323.1 kB / 0.7024 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005441/0.6606, allocations: 31.98 kB / 0.7024 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009966/0.6616, allocations: 43.95 kB / 0.7025 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.6618, allocations: 84.23 kB / 0.7025 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.6619, allocations: 48 kB / 0.7026 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003598/0.6655, allocations: 1.67 MB / 0.7042 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6655, allocations: 0 / 0.7042 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005043/0.6706, allocations: 1.032 MB / 0.7052 GB, free: 11.62 MB / 0.5137 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.004182/0.6747, allocations: 2.669 MB / 0.7078 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005926/0.6807, allocations: 3.138 MB / 0.7109 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.6807, allocations: 0 / 0.7109 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.682, allocations: 0.7384 MB / 0.7116 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.6843, allocations: 308 kB / 0.7119 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06221/0.7465, allocations: 31.03 MB / 0.7422 GB, free: 1.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006687/0.7532, allocations: 3.096 MB / 0.7452 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004275/0.7575, allocations: 1.553 MB / 0.7467 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003249/0.7607, allocations: 1.593 MB / 0.7483 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/0.7607, allocations: 0 / 0.7483 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0977/0.8584, allocations: 41.75 MB / 0.7891 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/16.9, allocations: 15.92 kB / 0.7891 GB, free: 1.781 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 20.377893985947594]