Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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.001297/0.001297, 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.001689/0.001689, allocations: 207.6 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.447/1.447, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2532/0.2532, allocations: 46.92 MB / 361.6 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] 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.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 76.2 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3628, allocations: 66.09 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01055/0.3733, allocations: 8.745 MB / 0.5701 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005325/0.3786, allocations: 2.315 MB / 0.5723 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.3796, allocations: 47.88 kB / 0.5724 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.3828, allocations: 1.573 MB / 0.5739 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.384, allocations: 489.3 kB / 0.5744 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.3843, allocations: 71.91 kB / 0.5744 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.3855, allocations: 0.9254 MB / 0.5753 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.3869, allocations: 1.209 MB / 0.5765 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006898/0.3876, allocations: 0.545 MB / 0.5771 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.3886, allocations: 0.7161 MB / 0.5778 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.3888, allocations: 120 kB / 0.5779 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.3891, allocations: 124 kB / 0.578 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006719/0.3898, allocations: 0.7478 MB / 0.5787 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007831/0.3905, allocations: 0.8541 MB / 0.5796 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.393, allocations: 2.321 MB / 0.5818 GB, free: 15.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.393, allocations: 0 / 0.5818 GB, free: 15.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.393, allocations: 0 / 0.5818 GB, free: 15.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.674e-05/0.3931, allocations: 4 kB / 0.5818 GB, free: 15.41 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002761/0.3959, allocations: 1.932 MB / 0.5837 GB, free: 13.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3959, allocations: 8.031 kB / 0.5837 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.498e-05/0.396, allocations: 47.23 kB / 0.5838 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003247/0.3963, allocations: 330.5 kB / 0.5841 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.3968, allocations: 223.4 kB / 0.5843 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.3979, allocations: 0.6625 MB / 0.5849 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.581e-05/0.398, allocations: 119.1 kB / 0.585 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.3982, allocations: 151.9 kB / 0.5852 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004089/0.4023, allocations: 3.371 MB / 0.5885 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/0.4023, allocations: 27.75 kB / 0.5885 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.4024, allocations: 71.94 kB / 0.5886 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007634/0.4032, allocations: 0.6188 MB / 0.5892 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003081/0.4063, allocations: 1.858 MB / 0.591 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.4191, allocations: 13.45 MB / 0.6041 GB, free: 7.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.4192, allocations: 169.1 kB / 0.6043 GB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.4192, allocations: 84.12 kB / 0.6044 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.4193, allocations: 75.28 kB / 0.6044 GB, free: 7.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.4193, allocations: 109.8 kB / 0.6045 GB, free: 7.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/0.4193, allocations: 0 / 0.6045 GB, free: 7.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002509/0.4196, allocations: 160.8 kB / 0.6047 GB, free: 7.098 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.4196, allocations: 126.7 kB / 0.6048 GB, free: 6.961 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.4217, allocations: 1.651 MB / 0.6064 GB, free: 5.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4217, allocations: 25.7 kB / 0.6065 GB, free: 5.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.4227, allocations: 1.416 MB / 0.6078 GB, free: 3.836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.4228, allocations: 43.95 kB / 0.6079 GB, free: 3.793 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004517/0.4232, allocations: 439.1 kB / 0.6083 GB, free: 3.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4234, allocations: 353.9 kB / 0.6086 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/0.4239, allocations: 367.8 kB / 0.609 GB, free: 2.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.4258, allocations: 1.925 MB / 0.6109 GB, free: 15.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/0.4285, allocations: 2.515 MB / 0.6133 GB, free: 12.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.128e-05/0.4285, allocations: 16 kB / 0.6133 GB, free: 12.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003488/0.432, allocations: 2.123 MB / 0.6154 GB, free: 10.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.432, allocations: 28 kB / 0.6154 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.466e-05/0.4321, allocations: 60.83 kB / 0.6155 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.741e-05/0.4322, allocations: 76 kB / 0.6156 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.4334, allocations: 487.1 kB / 0.616 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001036/0.4335, allocations: 115.5 kB / 0.6161 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.435, allocations: 329.5 kB / 0.6165 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.4352, allocations: 136 kB / 0.6166 GB, free: 9.227 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.001121/0.4363, allocations: 0.864 MB / 0.6174 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.4365, allocations: 232.1 kB / 0.6177 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.4368, allocations: 232.1 kB / 0.6179 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.169e-05/0.4368, allocations: 180.3 kB / 0.6181 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.998e-05/0.4369, allocations: 192.2 kB / 0.6182 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.446e-05/0.437, allocations: 176.3 kB / 0.6184 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.4389, allocations: 1.457 MB / 0.6198 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.003e-05/0.439, allocations: 108.9 kB / 0.6199 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.439, allocations: 101 kB / 0.62 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.443e-05/0.4391, allocations: 188.1 kB / 0.6202 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/0.4392, allocations: 180.2 kB / 0.6204 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.721e-05/0.4392, allocations: 180.2 kB / 0.6205 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.077e-05/0.4393, allocations: 184.3 kB / 0.6207 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.4396, allocations: 437.9 kB / 0.6211 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.44, allocations: 220.1 kB / 0.6214 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.4401, allocations: 180.2 kB / 0.6215 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.4405, allocations: 109 kB / 0.6216 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.4405, allocations: 184.3 kB / 0.6218 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.4406, allocations: 104.9 kB / 0.6219 GB, free: 3.574 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00138/0.442, allocations: 1.01 MB / 0.6229 GB, free: 2.566 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.442, allocations: 0 / 0.6229 GB, free: 2.566 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001647/0.4436, allocations: 434.7 kB / 0.6233 GB, free: 2.141 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.0005917/0.4442, allocations: 0.9407 MB / 0.6242 GB, free: 1.172 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.4456, allocations: 0.8755 MB / 0.6251 GB, free: 316 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4456, allocations: 1 kB / 0.6251 GB, free: 316 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.4456, allocations: 0 / 0.6251 GB, free: 316 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008942/0.4465, allocations: 0.5773 MB / 0.6256 GB, free: 15.72 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/0.466, allocations: 13.6 MB / 0.6389 GB, free: 344 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.4679, allocations: 1.572 MB / 0.6405 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001287/0.4692, allocations: 0.4953 MB / 0.6409 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.4702, allocations: 0.6594 MB / 0.6416 GB, free: 13.57 MB / 494.1 MB Notification: Performance of SimCode: time 2.325e-06/0.4702, allocations: 0 / 0.6416 GB, free: 13.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05907/0.5293, allocations: 23.39 MB / 0.6644 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/14.87, allocations: 8 kB / 0.6644 GB, free: 6.312 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 18.56507595605217]