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.001807/0.001807, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002259/0.002259, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.601/1.601, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2411/0.2411, allocations: 46.95 MB / 361.7 MB, free: 4.031 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 63.91 kB / 0.4969 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3242, allocations: 66.03 MB / 0.5613 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0129/0.3371, allocations: 9.983 MB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007282/0.3444, allocations: 2.905 MB / 0.5739 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.3464, allocations: 71.75 kB / 0.574 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003798/0.3502, allocations: 1.541 MB / 0.5755 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004307/0.3545, allocations: 1.615 MB / 0.5771 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.355, allocations: 119.8 kB / 0.5772 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004679/0.3597, allocations: 3.309 MB / 0.5804 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.3623, allocations: 1.901 MB / 0.5823 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.3638, allocations: 1.168 MB / 0.5834 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003669/0.3675, allocations: 2.603 MB / 0.586 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00052/0.368, allocations: 231.9 kB / 0.5862 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.3693, allocations: 0.6202 MB / 0.5868 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.3708, allocations: 1.534 MB / 0.5883 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.3724, allocations: 1.28 MB / 0.5895 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006521/0.3789, allocations: 5.967 MB / 0.5954 GB, free: 1.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3789, allocations: 0 / 0.5954 GB, free: 1.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3789, allocations: 4 kB / 0.5954 GB, free: 1.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001416/0.3791, allocations: 0 / 0.5954 GB, free: 1.223 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.00791/0.387, allocations: 4.026 MB / 0.5993 GB, free: 13.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.387, allocations: 16.03 kB / 0.5993 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000116/0.3871, allocations: 88.92 kB / 0.5994 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001165/0.3883, allocations: 0.6915 MB / 0.6001 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.3986, allocations: 2.989 MB / 0.603 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/0.4028, allocations: 1.791 MB / 0.6047 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.403, allocations: 188.5 kB / 0.6049 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009599/0.404, allocations: 239.8 kB / 0.6051 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/0.4216, allocations: 9.764 MB / 0.6147 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-05/0.4217, allocations: 15.88 kB / 0.6147 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005351/0.4222, allocations: 115.8 kB / 0.6148 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003975/0.4262, allocations: 2.365 MB / 0.6171 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.4445, allocations: 8.947 MB / 0.6259 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04717/0.4916, allocations: 28 MB / 0.6532 GB, free: 4.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006487/0.4981, allocations: 2.46 MB / 0.6556 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.4998, allocations: 1.017 MB / 0.6566 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/0.5105, allocations: 4.716 MB / 0.6612 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.5106, allocations: 39.22 kB / 0.6612 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.979e-06/0.5106, allocations: 4 kB / 0.6612 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008388/0.519, allocations: 3.143 MB / 0.6643 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/0.519, allocations: 115.4 kB / 0.6644 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005424/0.5245, allocations: 2.738 MB / 0.6671 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.5246, allocations: 41.7 kB / 0.6671 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002608/0.5272, allocations: 2.849 MB / 0.6699 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008467/0.5281, allocations: 0.5388 MB / 0.6704 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001951/0.53, allocations: 0.933 MB / 0.6714 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5302, allocations: 309.1 kB / 0.6717 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002338/0.5325, allocations: 1.406 MB / 0.673 GB, free: 260 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00494/0.5374, allocations: 4.225 MB / 0.6772 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007685/0.5451, allocations: 6.147 MB / 0.6832 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/0.5452, allocations: 28 kB / 0.6832 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01051/0.5557, allocations: 5.46 MB / 0.6885 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.5559, allocations: 48 kB / 0.6886 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/0.5561, allocations: 104 kB / 0.6887 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.5562, allocations: 132 kB / 0.6888 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/0.5596, allocations: 0.9981 MB / 0.6898 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002237/0.5598, allocations: 195.2 kB / 0.6899 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/0.5634, allocations: 0.6359 MB / 0.6906 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000917/0.5643, allocations: 288 kB / 0.6908 GB, free: 11.18 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.004579/0.5689, allocations: 1.974 MB / 0.6928 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005631/0.5694, allocations: 250.3 kB / 0.693 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007322/0.5701, allocations: 288.8 kB / 0.6933 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/0.5702, allocations: 16 kB / 0.6933 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.5702, allocations: 0 / 0.6933 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.5702, allocations: 11.97 kB / 0.6933 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/0.5836, allocations: 6.02 MB / 0.6992 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/0.5837, allocations: 8 kB / 0.6992 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007329/0.5844, allocations: 171.8 kB / 0.6994 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.96e-05/0.5844, allocations: 12 kB / 0.6994 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.5845, allocations: 28.25 kB / 0.6994 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-05/0.5845, allocations: 19.92 kB / 0.6994 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/0.5846, allocations: 19.88 kB / 0.6994 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.5875, allocations: 2.007 MB / 0.7014 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007489/0.5883, allocations: 242.2 kB / 0.7016 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004836/0.5888, allocations: 31.98 kB / 0.7017 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008946/0.5897, allocations: 39.95 kB / 0.7017 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.5899, allocations: 84.02 kB / 0.7018 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.59, allocations: 47.98 kB / 0.7018 GB, free: 15.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003456/0.5934, allocations: 1.67 MB / 0.7035 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5934, allocations: 0 / 0.7035 GB, free: 13.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004234/0.5977, allocations: 1.043 MB / 0.7045 GB, free: 12.9 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.003621/0.6013, allocations: 2.661 MB / 0.7071 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005441/0.6067, allocations: 3.138 MB / 0.7101 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.6067, allocations: 4 kB / 0.7101 GB, free: 6.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.6079, allocations: 0.7436 MB / 0.7109 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.6099, allocations: 301.2 kB / 0.7112 GB, free: 5.957 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3604/0.9703, allocations: 31.05 MB / 0.7415 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004706/0.975, allocations: 2.555 MB / 0.744 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003467/0.9785, allocations: 1.549 MB / 0.7455 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002546/0.9811, allocations: 1.598 MB / 0.747 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.853e-06/0.9811, allocations: 0 / 0.747 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07739/1.058, allocations: 43.14 MB / 0.7892 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.42/20.48, allocations: 11.03 kB / 0.7892 GB, free: 106.1 MB / 0.5606 GB " [Timeout remaining time 639] (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: 24.242380467941985]