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.006172/0.006172, allocations: 103.7 kB / 21.97 MB, free: 5.207 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.001394/0.001394, allocations: 224 kB / 25.3 MB, free: 3.211 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.445/1.445, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.2369/0.2369, allocations: 46.93 MB / 362.3 MB, free: 4.227 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.002626/0.002626, allocations: 87.84 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3828, allocations: 66.08 MB / 0.5628 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01147/0.3943, allocations: 8.756 MB / 0.5713 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005793/0.4001, allocations: 2.309 MB / 0.5736 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.4016, allocations: 43.88 kB / 0.5736 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003661/0.4053, allocations: 1.569 MB / 0.5751 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.4068, allocations: 493.3 kB / 0.5756 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.4072, allocations: 71.84 kB / 0.5757 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.409, allocations: 0.9254 MB / 0.5766 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.411, allocations: 1.212 MB / 0.5778 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.4121, allocations: 0.5411 MB / 0.5783 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.4135, allocations: 0.72 MB / 0.579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.4139, allocations: 116 kB / 0.5791 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/0.4144, allocations: 131.9 kB / 0.5792 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009819/0.4154, allocations: 0.7439 MB / 0.58 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.4167, allocations: 0.8541 MB / 0.5808 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.4196, allocations: 2.329 MB / 0.5831 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.4196, allocations: 0 / 0.5831 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4196, allocations: 4 kB / 0.5831 GB, free: 15.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5e-05/0.4197, allocations: 0 / 0.5831 GB, free: 15.35 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.003089/0.4228, allocations: 1.92 MB / 0.5849 GB, free: 13.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4228, allocations: 12.03 kB / 0.585 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005997/0.4234, allocations: 223.4 kB / 0.5852 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.4245, allocations: 0.6586 MB / 0.5858 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.4246, allocations: 123.3 kB / 0.5859 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.4248, allocations: 148.1 kB / 0.5861 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004507/0.4293, allocations: 3.379 MB / 0.5894 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.4294, allocations: 15.81 kB / 0.5894 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.4295, allocations: 75.94 kB / 0.5895 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007516/0.4303, allocations: 0.6226 MB / 0.5901 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003398/0.4336, allocations: 1.858 MB / 0.5919 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/0.4489, allocations: 13.44 MB / 0.605 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.449, allocations: 165.1 kB / 0.6052 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.4491, allocations: 84.14 kB / 0.6052 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.4491, allocations: 79.22 kB / 0.6053 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.295e-05/0.4492, allocations: 117.8 kB / 0.6054 GB, free: 7.578 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 4.308e-06/0.4492, allocations: 3.984 kB / 0.6054 GB, free: 7.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003245/0.4495, allocations: 148.9 kB / 0.6056 GB, free: 7.422 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.4496, allocations: 126.7 kB / 0.6057 GB, free: 7.285 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.4518, allocations: 1.651 MB / 0.6073 GB, free: 5.625 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4518, allocations: 29.7 kB / 0.6073 GB, free: 5.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.453, allocations: 1.423 MB / 0.6087 GB, free: 4.148 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.453, allocations: 43.95 kB / 0.6088 GB, free: 4.105 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004748/0.4535, allocations: 427.1 kB / 0.6092 GB, free: 3.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4537, allocations: 353.9 kB / 0.6095 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.4542, allocations: 367.8 kB / 0.6099 GB, free: 2.965 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.4561, allocations: 1.937 MB / 0.6118 GB, free: 216 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/0.459, allocations: 2.504 MB / 0.6142 GB, free: 12.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.172e-05/0.459, allocations: 20 kB / 0.6142 GB, free: 12.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003299/0.4623, allocations: 2.12 MB / 0.6163 GB, free: 10.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.4623, allocations: 32.03 kB / 0.6163 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.425e-05/0.4624, allocations: 56 kB / 0.6164 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.138e-05/0.4625, allocations: 76 kB / 0.6164 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.4637, allocations: 491 kB / 0.6169 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001105/0.4638, allocations: 111.6 kB / 0.617 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4652, allocations: 325.5 kB / 0.6173 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.4653, allocations: 136 kB / 0.6175 GB, free: 9.555 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.001243/0.4665, allocations: 0.8667 MB / 0.6183 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.4667, allocations: 232 kB / 0.6185 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.4669, allocations: 228.2 kB / 0.6187 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.12e-05/0.467, allocations: 180.3 kB / 0.6189 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.625e-05/0.4671, allocations: 192.2 kB / 0.6191 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.43e-05/0.4672, allocations: 176.3 kB / 0.6193 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.469, allocations: 1.453 MB / 0.6207 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.815e-05/0.469, allocations: 116.9 kB / 0.6208 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.509e-05/0.4691, allocations: 101 kB / 0.6209 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.053e-05/0.4692, allocations: 184.1 kB / 0.6211 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/0.4692, allocations: 180.3 kB / 0.6212 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.529e-05/0.4693, allocations: 184.2 kB / 0.6214 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.869e-05/0.4694, allocations: 180.3 kB / 0.6216 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.4697, allocations: 430 kB / 0.622 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.47, allocations: 228.1 kB / 0.6222 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.4702, allocations: 184.2 kB / 0.6224 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.4705, allocations: 109 kB / 0.6225 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.4705, allocations: 184.2 kB / 0.6227 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.4706, allocations: 101 kB / 0.6228 GB, free: 3.902 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001369/0.472, allocations: 1.014 MB / 0.6238 GB, free: 2.891 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.472, allocations: 0 / 0.6238 GB, free: 2.891 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001558/0.4735, allocations: 438.7 kB / 0.6242 GB, free: 2.461 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.000227/0.4737, allocations: 166.5 kB / 0.6243 GB, free: 2.289 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.4751, allocations: 0.868 MB / 0.6252 GB, free: 1.434 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4751, allocations: 4 kB / 0.6252 GB, free: 1.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.997e-06/0.4751, allocations: 4.688 kB / 0.6252 GB, free: 1.426 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008609/0.4759, allocations: 0.576 MB / 0.6258 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.4809, allocations: 2.997 MB / 0.6287 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/0.4826, allocations: 1.568 MB / 0.6302 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.4828, allocations: 95.42 kB / 0.6303 GB, free: 12.11 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4828, allocations: 0 / 0.6303 GB, free: 12.11 MB / 478.1 MB Notification: Performance of Templates: time 0.03331/0.5161, allocations: 17.96 MB / 0.6478 GB, free: 10.15 MB / 494.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.801492016995326]