Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.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.001906/0.001906, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002324/0.002324, allocations: 168.5 kB / 24.5 MB, free: 3.453 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.438/1.438, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.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.2129/0.2129, allocations: 34.27 MB / 295.5 MB, free: 14.59 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: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.88 kB / 443.1 MB, free: 6.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3202, allocations: 66.01 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.008269/0.3285, allocations: 9.813 MB / 0.5068 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005054/0.3336, allocations: 2.706 MB / 0.5094 GB, free: 21.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.3353, allocations: 63.03 kB / 0.5095 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002574/0.3379, allocations: 1.304 MB / 0.5108 GB, free: 21.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002864/0.3407, allocations: 1.251 MB / 0.512 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.3411, allocations: 85.98 kB / 0.5121 GB, free: 20.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.3442, allocations: 2.708 MB / 0.5147 GB, free: 19.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.3465, allocations: 1.676 MB / 0.5164 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.348, allocations: 1.06 MB / 0.5174 GB, free: 18.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.3501, allocations: 1.538 MB / 0.5189 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004535/0.3505, allocations: 207.8 kB / 0.5191 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.3516, allocations: 415.1 kB / 0.5195 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.3529, allocations: 1.431 MB / 0.5209 GB, free: 17.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.3543, allocations: 1.19 MB / 0.522 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007135/0.3614, allocations: 5.483 MB / 0.5274 GB, free: 14.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3614, allocations: 0.9688 kB / 0.5274 GB, free: 14.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3614, allocations: 4 kB / 0.5274 GB, free: 14.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001302/0.3615, allocations: 0 / 0.5274 GB, free: 14.25 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.006612/0.3682, allocations: 3.595 MB / 0.5309 GB, free: 12.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3682, allocations: 14.12 kB / 0.5309 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009805/0.378, allocations: 2.993 MB / 0.5338 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.3814, allocations: 1.491 MB / 0.5353 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.3815, allocations: 174.2 kB / 0.5355 GB, free: 9.887 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005749/0.3821, allocations: 229.4 kB / 0.5357 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.3952, allocations: 9.481 MB / 0.5449 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.269e-05/0.3952, allocations: 11.88 kB / 0.545 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003121/0.3955, allocations: 107.8 kB / 0.5451 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002995/0.3985, allocations: 2.377 MB / 0.5474 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/0.4157, allocations: 8.656 MB / 0.5558 GB, free: 9.195 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04822/0.4639, allocations: 26.59 MB / 0.5818 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/0.4689, allocations: 2.106 MB / 0.5839 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.4704, allocations: 0.9027 MB / 0.5847 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009476/0.4799, allocations: 3.914 MB / 0.5886 GB, free: 6.852 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.4799, allocations: 43.22 kB / 0.5886 GB, free: 6.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 5.27e-06/0.4799, allocations: 0 / 0.5886 GB, free: 6.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006755/0.4867, allocations: 2.862 MB / 0.5914 GB, free: 3.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.4867, allocations: 60.06 kB / 0.5915 GB, free: 3.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00499/0.4917, allocations: 2.616 MB / 0.594 GB, free: 1.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.4919, allocations: 45.64 kB / 0.5941 GB, free: 1.156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002623/0.4945, allocations: 2.767 MB / 0.5968 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007088/0.4952, allocations: 0.5079 MB / 0.5973 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.4967, allocations: 0.9091 MB / 0.5981 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4969, allocations: 353.7 kB / 0.5985 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.4993, allocations: 1.352 MB / 0.5998 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004763/0.504, allocations: 4.114 MB / 0.6038 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007694/0.5117, allocations: 5.964 MB / 0.6096 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.069e-05/0.5118, allocations: 28 kB / 0.6097 GB, free: 14.35 MB / 0.5138 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009598/0.5214, allocations: 5.285 MB / 0.6148 GB, free: 9.051 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/0.5215, allocations: 52.25 kB / 0.6149 GB, free: 9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.5216, allocations: 96 kB / 0.615 GB, free: 8.906 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.5217, allocations: 132 kB / 0.6151 GB, free: 8.777 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/0.5246, allocations: 0.9786 MB / 0.6161 GB, free: 7.797 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001739/0.5248, allocations: 191.2 kB / 0.6162 GB, free: 7.609 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/0.5277, allocations: 0.6011 MB / 0.6168 GB, free: 7.004 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004149/0.5281, allocations: 276 kB / 0.6171 GB, free: 6.734 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * 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.003602/0.5317, allocations: 1.892 MB / 0.6189 GB, free: 4.828 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.5321, allocations: 218.5 kB / 0.6191 GB, free: 4.613 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.5326, allocations: 262.3 kB / 0.6194 GB, free: 4.355 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/0.5326, allocations: 19.92 kB / 0.6194 GB, free: 4.336 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.5327, allocations: 4 kB / 0.6194 GB, free: 4.332 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.5327, allocations: 3.984 kB / 0.6194 GB, free: 4.328 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007927/0.5406, allocations: 4.312 MB / 0.6236 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.5406, allocations: 4 kB / 0.6236 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.5412, allocations: 139.8 kB / 0.6238 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.5412, allocations: 8 kB / 0.6238 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.5413, allocations: 20 kB / 0.6238 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.5413, allocations: 8 kB / 0.6238 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.5413, allocations: 11.88 kB / 0.6238 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.5437, allocations: 1.793 MB / 0.6256 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004664/0.5442, allocations: 214.2 kB / 0.6258 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.5444, allocations: 20 kB / 0.6258 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/0.545, allocations: 39.95 kB / 0.6258 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.5451, allocations: 64.28 kB / 0.6259 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.5452, allocations: 43.97 kB / 0.6259 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002346/0.5475, allocations: 1.467 MB / 0.6274 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5475, allocations: 0 / 0.6274 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003709/0.5512, allocations: 1.008 MB / 0.6283 GB, free: 11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * 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.0003289/0.5516, allocations: 150.9 kB / 0.6285 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00508/0.5566, allocations: 3.011 MB / 0.6314 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.5567, allocations: 4.875 kB / 0.6314 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009591/0.5576, allocations: 0.6867 MB / 0.6321 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.5589, allocations: 183.4 kB / 0.6323 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.5738, allocations: 7.256 MB / 0.6394 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003635/0.5774, allocations: 2.414 MB / 0.6417 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003252/0.5807, allocations: 1.46 MB / 0.6431 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.581, allocations: 156.4 kB / 0.6433 GB, free: 11.56 MB / 0.545 GB Notification: Performance of SimCode: time 1.293e-06/0.581, allocations: 3.938 kB / 0.6433 GB, free: 11.55 MB / 0.545 GB Notification: Performance of Templates: time 0.03606/0.6171, allocations: 11.95 MB / 0.655 GB, free: 15.88 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.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: 6.1124507719650865]