Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00136/0.00136, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001555/0.001555, allocations: 210.5 kB / 23.74 MB, free: 4.672 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2413/0.2413, allocations: 46.94 MB / 360.9 MB, free: 4.25 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.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002854, allocations: 71.89 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3831, allocations: 66.04 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0117/0.3948, allocations: 8.756 MB / 0.5692 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005772/0.4005, allocations: 2.311 MB / 0.5715 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.4021, allocations: 51.88 kB / 0.5715 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.4056, allocations: 1.557 MB / 0.5731 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.4071, allocations: 489.3 kB / 0.5735 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.4075, allocations: 75.84 kB / 0.5736 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.4092, allocations: 0.9254 MB / 0.5745 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.411, allocations: 1.205 MB / 0.5757 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009894/0.412, allocations: 0.5449 MB / 0.5762 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.4133, allocations: 0.7278 MB / 0.5769 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003692/0.4137, allocations: 116 kB / 0.577 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.4142, allocations: 123.9 kB / 0.5771 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000936/0.4151, allocations: 0.7478 MB / 0.5779 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.4165, allocations: 0.8541 MB / 0.5787 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002901/0.4194, allocations: 2.325 MB / 0.581 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4194, allocations: 0 / 0.581 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4194, allocations: 0 / 0.581 GB, free: 15.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001043/0.4195, allocations: 0 / 0.581 GB, free: 15.55 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.003447/0.423, allocations: 1.924 MB / 0.5829 GB, free: 13.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.423, allocations: 12.03 kB / 0.5829 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004018/0.4234, allocations: 330.5 kB / 0.5832 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005853/0.424, allocations: 223.4 kB / 0.5834 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.4252, allocations: 0.6664 MB / 0.584 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/0.4253, allocations: 115.4 kB / 0.5842 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.4255, allocations: 151.9 kB / 0.5843 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/0.4297, allocations: 3.375 MB / 0.5876 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.784e-05/0.4297, allocations: 19.81 kB / 0.5876 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.4298, allocations: 75.94 kB / 0.5877 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007462/0.4306, allocations: 0.6149 MB / 0.5883 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/0.4336, allocations: 1.85 MB / 0.5901 GB, free: 5.797 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.4469, allocations: 13.46 MB / 0.6032 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.447, allocations: 169.1 kB / 0.6034 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.447, allocations: 84.08 kB / 0.6035 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.447, allocations: 79.22 kB / 0.6036 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.094e-05/0.4471, allocations: 113.8 kB / 0.6037 GB, free: 7.441 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.853e-06/0.4471, allocations: 0 / 0.6037 GB, free: 7.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002432/0.4473, allocations: 148.9 kB / 0.6038 GB, free: 7.289 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.4474, allocations: 130.7 kB / 0.6039 GB, free: 7.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.4494, allocations: 1.651 MB / 0.6055 GB, free: 5.488 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.4494, allocations: 25.7 kB / 0.6056 GB, free: 5.457 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.4505, allocations: 1.416 MB / 0.607 GB, free: 4.023 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.4505, allocations: 43.95 kB / 0.607 GB, free: 3.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004672/0.451, allocations: 439.1 kB / 0.6074 GB, free: 3.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4512, allocations: 353.9 kB / 0.6078 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005258/0.4517, allocations: 371.8 kB / 0.6081 GB, free: 2.824 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/0.4536, allocations: 1.937 MB / 0.61 GB, free: 72 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/0.4564, allocations: 2.507 MB / 0.6124 GB, free: 12.76 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/0.4564, allocations: 16 kB / 0.6125 GB, free: 12.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003481/0.4599, allocations: 2.115 MB / 0.6145 GB, free: 10.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.4599, allocations: 28 kB / 0.6146 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.764e-05/0.46, allocations: 60 kB / 0.6146 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.73e-05/0.4601, allocations: 72.81 kB / 0.6147 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.4612, allocations: 491 kB / 0.6151 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.289e-05/0.4613, allocations: 115.6 kB / 0.6153 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.4627, allocations: 329.5 kB / 0.6156 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.4628, allocations: 140 kB / 0.6157 GB, free: 9.41 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.001126/0.4639, allocations: 0.8589 MB / 0.6165 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.4641, allocations: 236 kB / 0.6168 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.4644, allocations: 228.2 kB / 0.617 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.69e-05/0.4644, allocations: 180.3 kB / 0.6172 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.823e-05/0.4645, allocations: 184.2 kB / 0.6173 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.731e-05/0.4646, allocations: 180.2 kB / 0.6175 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.4663, allocations: 1.453 MB / 0.6189 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.204e-05/0.4664, allocations: 109 kB / 0.619 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.4664, allocations: 104.9 kB / 0.6191 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-05/0.4665, allocations: 184.2 kB / 0.6193 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.4666, allocations: 180.3 kB / 0.6195 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.1e-05/0.4667, allocations: 184.2 kB / 0.6197 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.086e-05/0.4667, allocations: 180.3 kB / 0.6198 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.467, allocations: 437.9 kB / 0.6202 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.4673, allocations: 216.1 kB / 0.6204 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.4675, allocations: 184.2 kB / 0.6206 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.4678, allocations: 113 kB / 0.6207 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.4678, allocations: 180.2 kB / 0.6209 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.4679, allocations: 101 kB / 0.621 GB, free: 3.773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.4693, allocations: 1.01 MB / 0.622 GB, free: 2.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4693, allocations: 4 kB / 0.622 GB, free: 2.762 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001748/0.471, allocations: 434.7 kB / 0.6224 GB, free: 2.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.0006175/0.4716, allocations: 0.9562 MB / 0.6233 GB, free: 1.352 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.4731, allocations: 0.8639 MB / 0.6242 GB, free: 0.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4731, allocations: 0.9375 kB / 0.6242 GB, free: 0.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.4731, allocations: 0 / 0.6242 GB, free: 0.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.474, allocations: 0.5751 MB / 0.6247 GB, free: 15.92 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/0.4921, allocations: 13.6 MB / 0.638 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.4936, allocations: 1.579 MB / 0.6396 GB, free: 14.92 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001117/0.4947, allocations: 499.2 kB / 0.64 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007459/0.4954, allocations: 0.6633 MB / 0.6407 GB, free: 13.76 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4954, allocations: 0 / 0.6407 GB, free: 13.76 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05923/0.5547, allocations: 23.37 MB / 0.6635 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.54, allocations: 0 / 0.6635 GB, free: 6.59 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 17.83607784193009]