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.001628/0.001628, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.0018/0.0018, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.511/1.511, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2323/0.2323, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.Torus,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 71.89 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1321, allocations: 65.99 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01361/0.1457, allocations: 11.29 MB / 0.5664 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007803/0.1535, allocations: 2.835 MB / 0.5692 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.156, allocations: 59.81 kB / 0.5692 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.1595, allocations: 1.347 MB / 0.5705 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.1631, allocations: 1.249 MB / 0.5717 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.1637, allocations: 83.83 kB / 0.5718 GB, free: 4.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004158/0.1679, allocations: 2.712 MB / 0.5745 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.1706, allocations: 1.625 MB / 0.5761 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.1726, allocations: 1.062 MB / 0.5771 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.175, allocations: 1.608 MB / 0.5787 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000544/0.1756, allocations: 208 kB / 0.5789 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.1767, allocations: 0.5032 MB / 0.5794 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.1782, allocations: 1.417 MB / 0.5807 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.18, allocations: 1.7 MB / 0.5824 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006126/0.1861, allocations: 5.464 MB / 0.5877 GB, free: 4.539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1861, allocations: 0 / 0.5877 GB, free: 4.539 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1861, allocations: 0 / 0.5877 GB, free: 4.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001347/0.1863, allocations: 0 / 0.5877 GB, free: 4.539 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.006653/0.1929, allocations: 3.676 MB / 0.5913 GB, free: 0.793 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.193, allocations: 12.03 kB / 0.5913 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001101/0.1941, allocations: 0.6709 MB / 0.592 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2915/0.4856, allocations: 2.958 MB / 0.5949 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004092/0.4897, allocations: 1.537 MB / 0.5964 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.49, allocations: 177.5 kB / 0.5966 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/0.4912, allocations: 218.1 kB / 0.5968 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.5105, allocations: 9.478 MB / 0.606 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.5106, allocations: 19.77 kB / 0.606 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008645/0.5114, allocations: 106.2 kB / 0.6061 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004855/0.5163, allocations: 2.373 MB / 0.6085 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/0.533, allocations: 8.673 MB / 0.6169 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03777/0.5708, allocations: 29.16 MB / 0.6454 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005684/0.5765, allocations: 2.932 MB / 0.6483 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.5781, allocations: 0.8989 MB / 0.6491 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009815/0.588, allocations: 4.866 MB / 0.6539 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.588, allocations: 39.22 kB / 0.6539 GB, free: 2.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 5.4e-06/0.588, allocations: 0 / 0.6539 GB, free: 2.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006921/0.5949, allocations: 2.745 MB / 0.6566 GB, free: 92 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.595, allocations: 64.06 kB / 0.6567 GB, free: 16 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004418/0.5994, allocations: 2.569 MB / 0.6592 GB, free: 13.42 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.5996, allocations: 37.7 kB / 0.6592 GB, free: 13.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002293/0.6019, allocations: 2.759 MB / 0.6619 GB, free: 10.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007217/0.6026, allocations: 0.504 MB / 0.6624 GB, free: 10.08 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.604, allocations: 0.9091 MB / 0.6633 GB, free: 9.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.6042, allocations: 361.9 kB / 0.6636 GB, free: 8.801 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.6064, allocations: 1.355 MB / 0.665 GB, free: 7.438 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005055/0.6114, allocations: 4.118 MB / 0.669 GB, free: 1.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008328/0.6198, allocations: 5.96 MB / 0.6748 GB, free: 10.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/0.6199, allocations: 28 kB / 0.6748 GB, free: 10.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01023/0.6301, allocations: 5.296 MB / 0.68 GB, free: 5.266 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.552e-05/0.6302, allocations: 51.94 kB / 0.6801 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/0.6303, allocations: 100 kB / 0.6801 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.6305, allocations: 128 kB / 0.6803 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/0.6336, allocations: 0.9708 MB / 0.6812 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001818/0.6338, allocations: 191.2 kB / 0.6814 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/0.6371, allocations: 0.6204 MB / 0.682 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007397/0.6379, allocations: 276.2 kB / 0.6823 GB, free: 2.938 MB / 494.1 MB 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.003765/0.6416, allocations: 1.897 MB / 0.6841 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004679/0.6421, allocations: 226.5 kB / 0.6843 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006762/0.6428, allocations: 271.3 kB / 0.6846 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.075e-05/0.6428, allocations: 16 kB / 0.6846 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.6428, allocations: 5.906 kB / 0.6846 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.6428, allocations: 3.984 kB / 0.6846 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.6534, allocations: 5.618 MB / 0.6901 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.6534, allocations: 4 kB / 0.6901 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/0.654, allocations: 135.7 kB / 0.6902 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.6541, allocations: 8 kB / 0.6902 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-05/0.6541, allocations: 20.56 kB / 0.6903 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.35e-05/0.6541, allocations: 15.98 kB / 0.6903 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.6541, allocations: 7.938 kB / 0.6903 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.6567, allocations: 1.797 MB / 0.692 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006199/0.6574, allocations: 303.3 kB / 0.6923 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.6576, allocations: 19.98 kB / 0.6924 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/0.6583, allocations: 43.95 kB / 0.6924 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.6584, allocations: 64.38 kB / 0.6925 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.6585, allocations: 39.98 kB / 0.6925 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002866/0.6614, allocations: 1.552 MB / 0.694 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6614, allocations: 0 / 0.694 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004278/0.6657, allocations: 1.008 MB / 0.695 GB, free: 5.656 MB / 0.4981 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.003354/0.669, allocations: 2.448 MB / 0.6974 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005383/0.6744, allocations: 3.016 MB / 0.7003 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.6744, allocations: 0.9375 kB / 0.7003 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.6754, allocations: 0.6908 MB / 0.701 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.6771, allocations: 248.5 kB / 0.7012 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06256/0.7397, allocations: 29.36 MB / 0.7299 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005157/0.7448, allocations: 2.962 MB / 0.7328 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003617/0.7484, allocations: 1.482 MB / 0.7343 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0028/0.7512, allocations: 1.518 MB / 0.7357 GB, free: 8.012 MB / 0.545 GB Notification: Performance of SimCode: time 1.683e-06/0.7512, allocations: 0 / 0.7357 GB, free: 8.012 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08651/0.8378, allocations: 38.79 MB / 0.7736 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.96/16.8, allocations: 11.91 kB / 0.7736 GB, free: 1.402 MB / 0.5762 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 52.5] 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] "Error: Could not read variable torus1.surface.nu in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.17631200212054]