Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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.001655/0.001655, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002449/0.002449, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.2167/0.2167, allocations: 44.94 MB / 358.8 MB, free: 6.043 MB / 286.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.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.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.91 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3162, allocations: 65.47 MB / 0.557 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009657/0.3258, allocations: 7.659 MB / 0.5645 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004821/0.3306, allocations: 2.19 MB / 0.5666 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.3317, allocations: 47.88 kB / 0.5666 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.3351, allocations: 1.491 MB / 0.5681 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.3366, allocations: 493.2 kB / 0.5686 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.337, allocations: 71.84 kB / 0.5686 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.3386, allocations: 0.9294 MB / 0.5696 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.3402, allocations: 1.197 MB / 0.5707 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009544/0.3412, allocations: 0.5488 MB / 0.5713 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.3425, allocations: 0.642 MB / 0.5719 GB, free: 8.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.3429, allocations: 116 kB / 0.572 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.3434, allocations: 127.9 kB / 0.5721 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009482/0.3443, allocations: 0.7478 MB / 0.5728 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009995/0.3453, allocations: 0.6444 MB / 0.5735 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.348, allocations: 2.349 MB / 0.5758 GB, free: 4.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.348, allocations: 0 / 0.5758 GB, free: 4.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.348, allocations: 4 kB / 0.5758 GB, free: 4.168 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.031e-05/0.3481, allocations: 3.938 kB / 0.5758 GB, free: 4.164 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.003417/0.3515, allocations: 1.922 MB / 0.5777 GB, free: 2.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.3516, allocations: 8.031 kB / 0.5777 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003945/0.352, allocations: 334.5 kB / 0.578 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000623/0.3526, allocations: 223.4 kB / 0.5782 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.354, allocations: 0.6624 MB / 0.5788 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.3541, allocations: 119.4 kB / 0.579 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.3543, allocations: 151.9 kB / 0.5791 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004336/0.3586, allocations: 3.387 MB / 0.5824 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.3587, allocations: 11.88 kB / 0.5824 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.3588, allocations: 75.94 kB / 0.5825 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007912/0.3596, allocations: 0.6149 MB / 0.5831 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003436/0.363, allocations: 1.862 MB / 0.5849 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/0.3768, allocations: 12.98 MB / 0.5976 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3769, allocations: 169.1 kB / 0.5977 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.3769, allocations: 84.08 kB / 0.5978 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.377, allocations: 75.28 kB / 0.5979 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/0.3771, allocations: 109.8 kB / 0.598 GB, free: 12.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.3771, allocations: 0 / 0.598 GB, free: 12.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000289/0.3773, allocations: 156.8 kB / 0.5982 GB, free: 12.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.3774, allocations: 134.7 kB / 0.5983 GB, free: 12.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.3796, allocations: 1.744 MB / 0.6 GB, free: 10.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3796, allocations: 25.7 kB / 0.6 GB, free: 10.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.3808, allocations: 1.42 MB / 0.6014 GB, free: 9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.3808, allocations: 47.89 kB / 0.6014 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/0.3813, allocations: 423.2 kB / 0.6018 GB, free: 8.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.3815, allocations: 357.9 kB / 0.6022 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005607/0.3821, allocations: 367.8 kB / 0.6025 GB, free: 7.812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/0.384, allocations: 1.933 MB / 0.6044 GB, free: 5.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.387, allocations: 2.511 MB / 0.6069 GB, free: 1.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.06e-05/0.387, allocations: 16 kB / 0.6069 GB, free: 1.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00349/0.3905, allocations: 2.119 MB / 0.609 GB, free: 15.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.3905, allocations: 28 kB / 0.609 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-05/0.3906, allocations: 60 kB / 0.609 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.769e-05/0.3907, allocations: 76.69 kB / 0.6091 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.3918, allocations: 487 kB / 0.6096 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001041/0.3919, allocations: 115.6 kB / 0.6097 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.3934, allocations: 325.5 kB / 0.61 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.3935, allocations: 140 kB / 0.6101 GB, free: 14.39 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001194/0.3947, allocations: 0.8627 MB / 0.611 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.3949, allocations: 232.1 kB / 0.6112 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.3951, allocations: 236.1 kB / 0.6114 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.058e-05/0.3952, allocations: 180.3 kB / 0.6116 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.339e-05/0.3953, allocations: 188.3 kB / 0.6118 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.566e-05/0.3954, allocations: 180.2 kB / 0.612 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.3971, allocations: 1.422 MB / 0.6133 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.642e-05/0.3971, allocations: 108.9 kB / 0.6134 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.3972, allocations: 105 kB / 0.6135 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-05/0.3973, allocations: 176.3 kB / 0.6137 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.366e-05/0.3973, allocations: 180.2 kB / 0.6139 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.739e-05/0.3974, allocations: 184.2 kB / 0.6141 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.445e-05/0.3975, allocations: 180.2 kB / 0.6142 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.3978, allocations: 445.9 kB / 0.6147 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.3981, allocations: 228 kB / 0.6149 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.3983, allocations: 180.2 kB / 0.615 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.3986, allocations: 104.9 kB / 0.6151 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/0.3987, allocations: 184.3 kB / 0.6153 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.3987, allocations: 105 kB / 0.6154 GB, free: 8.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001354/0.4001, allocations: 1.01 MB / 0.6164 GB, free: 7.762 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4001, allocations: 3.938 kB / 0.6164 GB, free: 7.758 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001529/0.4016, allocations: 430.7 kB / 0.6168 GB, free: 7.336 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0006312/0.4022, allocations: 0.9446 MB / 0.6177 GB, free: 6.363 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.4036, allocations: 0.8675 MB / 0.6186 GB, free: 5.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4036, allocations: 0 / 0.6186 GB, free: 5.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.449e-06/0.4036, allocations: 3.938 kB / 0.6186 GB, free: 5.504 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.4044, allocations: 0.5833 MB / 0.6192 GB, free: 4.918 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/0.4225, allocations: 13.59 MB / 0.6324 GB, free: 5.543 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.4238, allocations: 0.9924 MB / 0.6334 GB, free: 4.508 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001174/0.4249, allocations: 499.2 kB / 0.6339 GB, free: 4.016 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000761/0.4257, allocations: 0.6633 MB / 0.6345 GB, free: 3.352 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4257, allocations: 0 / 0.6345 GB, free: 3.352 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06084/0.4865, allocations: 22.29 MB / 0.6563 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.47, allocations: 1.688 kB / 0.6563 GB, free: 13.39 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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: 15.701607014983892]