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.001745/0.001745, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002011/0.002011, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 8 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.2238/0.2238, allocations: 44.91 MB / 358.8 MB, free: 6.293 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.002094/0.002094, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3369, allocations: 65.47 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01149/0.3484, allocations: 8.766 MB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.3535, allocations: 2.314 MB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009795/0.3545, allocations: 43.88 kB / 0.5679 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003411/0.3579, allocations: 1.557 MB / 0.5694 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.3591, allocations: 0.4895 MB / 0.5699 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.3595, allocations: 71.84 kB / 0.57 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.3609, allocations: 0.9254 MB / 0.5709 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.3626, allocations: 1.209 MB / 0.5721 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007763/0.3633, allocations: 0.5372 MB / 0.5726 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.3645, allocations: 0.72 MB / 0.5733 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.3647, allocations: 120 kB / 0.5734 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.3651, allocations: 123.9 kB / 0.5735 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007791/0.3659, allocations: 0.7478 MB / 0.5742 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009019/0.3668, allocations: 0.8503 MB / 0.5751 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.3694, allocations: 2.333 MB / 0.5774 GB, free: 2.836 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3694, allocations: 7.938 kB / 0.5774 GB, free: 2.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3694, allocations: 0 / 0.5774 GB, free: 2.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.918e-05/0.3694, allocations: 0 / 0.5774 GB, free: 2.828 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.002877/0.3723, allocations: 1.92 MB / 0.5792 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3724, allocations: 12.03 kB / 0.5792 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003683/0.3727, allocations: 330.5 kB / 0.5796 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005534/0.3733, allocations: 219.4 kB / 0.5798 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.3745, allocations: 0.6664 MB / 0.5804 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.3746, allocations: 123.3 kB / 0.5805 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.3748, allocations: 147.9 kB / 0.5807 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004318/0.3791, allocations: 3.379 MB / 0.584 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/0.3792, allocations: 15.81 kB / 0.584 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.3793, allocations: 75.94 kB / 0.5841 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008738/0.3802, allocations: 0.611 MB / 0.5847 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/0.3833, allocations: 1.862 MB / 0.5865 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.3965, allocations: 13.45 MB / 0.5996 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3966, allocations: 165.1 kB / 0.5998 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.3966, allocations: 88.08 kB / 0.5999 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.3967, allocations: 75.28 kB / 0.5999 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.06e-05/0.3967, allocations: 113.8 kB / 0.6 GB, free: 10.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 3.727e-06/0.3967, allocations: 3.984 kB / 0.6 GB, free: 10.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002461/0.397, allocations: 152.9 kB / 0.6002 GB, free: 10.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.3971, allocations: 126.7 kB / 0.6003 GB, free: 10.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.3991, allocations: 1.655 MB / 0.6019 GB, free: 8.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.3991, allocations: 25.7 kB / 0.6019 GB, free: 8.738 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.4002, allocations: 1.416 MB / 0.6033 GB, free: 7.305 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.4003, allocations: 47.95 kB / 0.6034 GB, free: 7.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/0.4007, allocations: 431.1 kB / 0.6038 GB, free: 6.828 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4009, allocations: 353.9 kB / 0.6041 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.4014, allocations: 367.8 kB / 0.6045 GB, free: 6.113 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.4033, allocations: 1.941 MB / 0.6064 GB, free: 3.355 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002752/0.4061, allocations: 2.5 MB / 0.6088 GB, free: 56 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.697e-05/0.4061, allocations: 16 kB / 0.6088 GB, free: 40 kB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003275/0.4094, allocations: 2.127 MB / 0.6109 GB, free: 13.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.4094, allocations: 34.28 kB / 0.6109 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-05/0.4095, allocations: 56 kB / 0.611 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-05/0.4095, allocations: 76 kB / 0.6111 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.4107, allocations: 491 kB / 0.6115 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-05/0.4108, allocations: 111.6 kB / 0.6116 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4121, allocations: 325.5 kB / 0.6119 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.4122, allocations: 136 kB / 0.6121 GB, free: 12.7 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.001301/0.4135, allocations: 0.8629 MB / 0.6129 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.4137, allocations: 236 kB / 0.6131 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.4139, allocations: 228.2 kB / 0.6134 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.909e-05/0.414, allocations: 180.3 kB / 0.6135 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.458e-05/0.4141, allocations: 188.2 kB / 0.6137 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.227e-05/0.4142, allocations: 184.2 kB / 0.6139 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.4159, allocations: 1.449 MB / 0.6153 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.418e-05/0.4159, allocations: 105 kB / 0.6154 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.416, allocations: 112.9 kB / 0.6155 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-05/0.4161, allocations: 184.2 kB / 0.6157 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.62e-05/0.4161, allocations: 176.3 kB / 0.6159 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.443e-05/0.4162, allocations: 180.2 kB / 0.616 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.438e-05/0.4163, allocations: 184.3 kB / 0.6162 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.4166, allocations: 437.9 kB / 0.6166 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.4169, allocations: 220.1 kB / 0.6168 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.4171, allocations: 180.2 kB / 0.617 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.4173, allocations: 113 kB / 0.6171 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.4174, allocations: 184.2 kB / 0.6173 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.4175, allocations: 101 kB / 0.6174 GB, free: 7.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00131/0.4188, allocations: 1.014 MB / 0.6184 GB, free: 6.039 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4188, allocations: 0 / 0.6184 GB, free: 6.039 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001589/0.4204, allocations: 434.7 kB / 0.6188 GB, free: 5.613 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.0006282/0.421, allocations: 0.9445 MB / 0.6197 GB, free: 4.641 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.4223, allocations: 0.8679 MB / 0.6206 GB, free: 3.785 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4223, allocations: 0 / 0.6206 GB, free: 3.785 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.4223, allocations: 0 / 0.6206 GB, free: 3.785 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.4231, allocations: 0.572 MB / 0.6211 GB, free: 3.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.4401, allocations: 13.61 MB / 0.6344 GB, free: 3.812 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.4416, allocations: 1.575 MB / 0.6359 GB, free: 2.203 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001108/0.4427, allocations: 0.4914 MB / 0.6364 GB, free: 1.707 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007381/0.4435, allocations: 0.6633 MB / 0.6371 GB, free: 1.043 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4435, allocations: 0 / 0.6371 GB, free: 1.043 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05691/0.5004, allocations: 23.35 MB / 0.6599 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.61, allocations: 18.33 kB / 0.6599 GB, free: 9.867 MB / 0.4981 GB " [Timeout remaining time 645] (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: 17.833885226165876]