Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001333/0.001333, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.001492/0.001492, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.491/1.491, allocations: 230.3 MB / 255.2 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2361/0.2361, allocations: 46.92 MB / 358.2 MB, free: 10.4 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-beta.om/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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 83.88 kB / 0.4925 GB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1366, allocations: 66 MB / 0.557 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01027/0.1469, allocations: 8.725 MB / 0.5655 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00517/0.1521, allocations: 2.301 MB / 0.5678 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1532, allocations: 43.94 kB / 0.5678 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003029/0.1562, allocations: 1.569 MB / 0.5693 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.1575, allocations: 489.3 kB / 0.5698 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.1578, allocations: 71.84 kB / 0.5699 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1592, allocations: 0.9332 MB / 0.5708 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.1606, allocations: 1.276 MB / 0.572 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006597/0.1613, allocations: 0.5488 MB / 0.5726 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000941/0.1622, allocations: 0.7122 MB / 0.5733 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.1624, allocations: 120 kB / 0.5734 GB, free: 4.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.1627, allocations: 127.9 kB / 0.5735 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007306/0.1634, allocations: 0.7439 MB / 0.5742 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007938/0.1642, allocations: 0.8542 MB / 0.5751 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.167, allocations: 2.325 MB / 0.5773 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.167, allocations: 3.938 kB / 0.5773 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.167, allocations: 0 / 0.5773 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.025e-05/0.167, allocations: 0 / 0.5773 GB, free: 0.5547 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.003156/0.1702, allocations: 1.999 MB / 0.5793 GB, free: 14.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1702, allocations: 8.031 kB / 0.5793 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.1709, allocations: 227.4 kB / 0.5795 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.172, allocations: 0.7229 MB / 0.5802 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.1721, allocations: 119.3 kB / 0.5803 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.1723, allocations: 148.1 kB / 0.5805 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004554/0.1769, allocations: 3.383 MB / 0.5838 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.1769, allocations: 11.88 kB / 0.5838 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.177, allocations: 79.94 kB / 0.5839 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009067/0.178, allocations: 0.6188 MB / 0.5845 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.1814, allocations: 1.862 MB / 0.5863 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.318/0.4994, allocations: 13.5 MB / 0.5995 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.456e-05/0.4995, allocations: 170.7 kB / 0.5996 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.4995, allocations: 83.97 kB / 0.5997 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.4995, allocations: 75.94 kB / 0.5998 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.4995, allocations: 108.4 kB / 0.5999 GB, free: 24.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.4995, allocations: 4.406 kB / 0.5999 GB, free: 24.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002364/0.4998, allocations: 160.7 kB / 0.6 GB, free: 24.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.4998, allocations: 128.1 kB / 0.6002 GB, free: 24.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.5021, allocations: 1.655 MB / 0.6018 GB, free: 24.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.5021, allocations: 25.7 kB / 0.6018 GB, free: 24.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008302/0.503, allocations: 1.413 MB / 0.6032 GB, free: 23.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.503, allocations: 51.55 kB / 0.6032 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005035/0.5035, allocations: 427.6 kB / 0.6036 GB, free: 23.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5036, allocations: 356.6 kB / 0.604 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/0.5042, allocations: 370.5 kB / 0.6043 GB, free: 22.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.5055, allocations: 1.932 MB / 0.6062 GB, free: 20.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.5075, allocations: 2.513 MB / 0.6087 GB, free: 18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.283e-05/0.5075, allocations: 16.06 kB / 0.6087 GB, free: 18 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003305/0.5108, allocations: 2.113 MB / 0.6108 GB, free: 17.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.5109, allocations: 29.44 kB / 0.6108 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.861e-05/0.511, allocations: 65.62 kB / 0.6108 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-05/0.511, allocations: 73.59 kB / 0.6109 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.5124, allocations: 490.2 kB / 0.6114 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001609/0.5125, allocations: 109.8 kB / 0.6115 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.514, allocations: 331.2 kB / 0.6118 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.5141, allocations: 138 kB / 0.6119 GB, free: 16.84 MB / 446.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.000984/0.5151, allocations: 0.8659 MB / 0.6128 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.5152, allocations: 231.6 kB / 0.613 GB, free: 16.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.5154, allocations: 234.3 kB / 0.6132 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/0.5154, allocations: 182.3 kB / 0.6134 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.457e-05/0.5155, allocations: 178.6 kB / 0.6136 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/0.5155, allocations: 182.2 kB / 0.6137 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.5173, allocations: 1.479 MB / 0.6152 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.5173, allocations: 103.8 kB / 0.6153 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.5173, allocations: 107.1 kB / 0.6154 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/0.5173, allocations: 178.3 kB / 0.6156 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.5174, allocations: 189.4 kB / 0.6157 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.593e-05/0.5174, allocations: 182.5 kB / 0.6159 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.868e-05/0.5174, allocations: 181.5 kB / 0.6161 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.5176, allocations: 433.3 kB / 0.6165 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.5178, allocations: 297.4 kB / 0.6168 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.5179, allocations: 191.2 kB / 0.617 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.5182, allocations: 103.3 kB / 0.6171 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.5182, allocations: 182.4 kB / 0.6172 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.5182, allocations: 102.2 kB / 0.6173 GB, free: 12.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001307/0.5195, allocations: 1.016 MB / 0.6183 GB, free: 12.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5195, allocations: 0 / 0.6183 GB, free: 12.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001726/0.5213, allocations: 437.2 kB / 0.6187 GB, free: 11.98 MB / 446.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.0001355/0.5214, allocations: 178 kB / 0.6189 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.5227, allocations: 0.8721 MB / 0.6198 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5227, allocations: 1.594 kB / 0.6198 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-06/0.5227, allocations: 1.156 kB / 0.6198 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.5234, allocations: 0.5745 MB / 0.6203 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.5279, allocations: 2.99 MB / 0.6232 GB, free: 9.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.5292, allocations: 1.575 MB / 0.6248 GB, free: 8.609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.5294, allocations: 90.72 kB / 0.6249 GB, free: 8.602 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.5294, allocations: 0 / 0.6249 GB, free: 8.602 MB / 446.1 MB Notification: Performance of Templates: time 0.02876/0.5582, allocations: 17.97 MB / 0.6424 GB, free: 12.17 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 8.919198315998074]