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.001363/0.001363, allocations: 114 kB / 20.44 MB, free: 1.469 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.00152/0.00152, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.492/1.492, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.2393/0.2393, allocations: 46.92 MB / 360.8 MB, free: 4.211 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 83.88 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3259, allocations: 66.08 MB / 0.5608 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.011/0.3369, allocations: 8.745 MB / 0.5693 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005574/0.3425, allocations: 2.314 MB / 0.5716 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.344, allocations: 43.88 kB / 0.5716 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003582/0.3476, allocations: 1.565 MB / 0.5731 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.3491, allocations: 493.3 kB / 0.5736 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.3496, allocations: 71.84 kB / 0.5737 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.3512, allocations: 0.9294 MB / 0.5746 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.353, allocations: 1.205 MB / 0.5758 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009445/0.354, allocations: 0.545 MB / 0.5763 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.3553, allocations: 0.7238 MB / 0.577 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.3556, allocations: 120 kB / 0.5771 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.3561, allocations: 123.9 kB / 0.5772 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009091/0.357, allocations: 0.7517 MB / 0.578 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.3583, allocations: 0.8541 MB / 0.5788 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00303/0.3613, allocations: 2.322 MB / 0.5811 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.3613, allocations: 4 kB / 0.5811 GB, free: 15.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3613, allocations: 0 / 0.5811 GB, free: 15.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001237/0.3614, allocations: 0 / 0.5811 GB, free: 15.4 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.004139/0.3656, allocations: 1.92 MB / 0.5829 GB, free: 13.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.3656, allocations: 12.03 kB / 0.5829 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005898/0.3662, allocations: 330.5 kB / 0.5833 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006918/0.3669, allocations: 227.4 kB / 0.5835 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.3684, allocations: 0.6586 MB / 0.5841 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.3685, allocations: 119.3 kB / 0.5842 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/0.3687, allocations: 155.9 kB / 0.5844 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005132/0.3739, allocations: 3.375 MB / 0.5877 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/0.3739, allocations: 11.88 kB / 0.5877 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.3741, allocations: 71.94 kB / 0.5878 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008349/0.3749, allocations: 0.6227 MB / 0.5884 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/0.3787, allocations: 1.866 MB / 0.5902 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01556/0.3943, allocations: 13.44 MB / 0.6033 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.3945, allocations: 173.1 kB / 0.6035 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.3945, allocations: 84.08 kB / 0.6036 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.938e-05/0.3946, allocations: 75.28 kB / 0.6036 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.607e-05/0.3946, allocations: 105.8 kB / 0.6037 GB, free: 7.312 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.325e-06/0.3946, allocations: 0 / 0.6037 GB, free: 7.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003494/0.395, allocations: 156.9 kB / 0.6039 GB, free: 7.152 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.3951, allocations: 126.7 kB / 0.604 GB, free: 7.016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.3976, allocations: 1.659 MB / 0.6056 GB, free: 5.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3976, allocations: 25.7 kB / 0.6056 GB, free: 5.316 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.3989, allocations: 1.416 MB / 0.607 GB, free: 3.883 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.326e-05/0.399, allocations: 43.95 kB / 0.6071 GB, free: 3.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005673/0.3995, allocations: 435.1 kB / 0.6075 GB, free: 3.406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3997, allocations: 357.9 kB / 0.6078 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005934/0.4003, allocations: 379.8 kB / 0.6082 GB, free: 2.676 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.4023, allocations: 1.929 MB / 0.6101 GB, free: 15.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.4054, allocations: 2.503 MB / 0.6125 GB, free: 12.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.185e-05/0.4054, allocations: 20 kB / 0.6125 GB, free: 12.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004243/0.4097, allocations: 2.119 MB / 0.6146 GB, free: 10.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/0.4098, allocations: 28 kB / 0.6146 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.491e-05/0.4098, allocations: 56 kB / 0.6147 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.545e-05/0.4099, allocations: 76 kB / 0.6148 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.4113, allocations: 491 kB / 0.6152 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000137/0.4115, allocations: 107.6 kB / 0.6153 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.4134, allocations: 330 kB / 0.6156 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.4136, allocations: 140 kB / 0.6158 GB, free: 9.273 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.002052/0.4156, allocations: 0.8679 MB / 0.6166 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/0.416, allocations: 232.1 kB / 0.6168 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.4165, allocations: 232.2 kB / 0.6171 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001205/0.4166, allocations: 184.3 kB / 0.6172 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000121/0.4167, allocations: 184.3 kB / 0.6174 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001359/0.4168, allocations: 180.3 kB / 0.6176 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.4196, allocations: 1.453 MB / 0.619 GB, free: 5.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.114e-05/0.4197, allocations: 109 kB / 0.6191 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.4197, allocations: 112.9 kB / 0.6192 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.081e-05/0.4198, allocations: 180.3 kB / 0.6194 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.049e-05/0.4199, allocations: 180.2 kB / 0.6196 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001552/0.4201, allocations: 176.3 kB / 0.6197 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.338e-05/0.4202, allocations: 184.2 kB / 0.6199 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.4206, allocations: 437.9 kB / 0.6203 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.421, allocations: 228 kB / 0.6205 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.4214, allocations: 176.3 kB / 0.6207 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.4218, allocations: 101 kB / 0.6208 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.4219, allocations: 184.2 kB / 0.621 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/0.4219, allocations: 105 kB / 0.6211 GB, free: 3.625 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.4236, allocations: 1.018 MB / 0.6221 GB, free: 2.609 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4236, allocations: 0 / 0.6221 GB, free: 2.609 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001898/0.4255, allocations: 434.7 kB / 0.6225 GB, free: 2.184 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.0007612/0.4263, allocations: 0.9406 MB / 0.6234 GB, free: 1.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.428, allocations: 0.867 MB / 0.6243 GB, free: 368 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.428, allocations: 1.812 kB / 0.6243 GB, free: 368 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.428, allocations: 0 / 0.6243 GB, free: 368 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.4291, allocations: 0.5775 MB / 0.6248 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/0.45, allocations: 13.59 MB / 0.6381 GB, free: 404 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.4519, allocations: 1.579 MB / 0.6396 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001268/0.4532, allocations: 495.2 kB / 0.6401 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008654/0.454, allocations: 0.6672 MB / 0.6408 GB, free: 13.62 MB / 494.1 MB Notification: Performance of SimCode: time 1.413e-06/0.454, allocations: 4 kB / 0.6408 GB, free: 13.62 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07194/0.526, allocations: 23.37 MB / 0.6636 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.76, allocations: 4.062 kB / 0.6636 GB, free: 6.387 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.042110756970942]