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.001446/0.001446, allocations: 123.4 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.001772/0.001772, allocations: 208.3 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.52/1.52, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2363/0.2363, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.001963/0.001963, allocations: 67.89 kB / 0.4909 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1487, allocations: 66 MB / 0.5554 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01394/0.1626, allocations: 11.28 MB / 0.5664 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006711/0.1693, allocations: 2.835 MB / 0.5692 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.1711, allocations: 59.81 kB / 0.5692 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003487/0.1746, allocations: 1.339 MB / 0.5705 GB, free: 6.254 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.1787, allocations: 1.253 MB / 0.5717 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.1792, allocations: 79.8 kB / 0.5718 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004452/0.1837, allocations: 2.723 MB / 0.5745 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/0.1866, allocations: 1.625 MB / 0.5761 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.1891, allocations: 1.059 MB / 0.5771 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002901/0.192, allocations: 1.608 MB / 0.5787 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007891/0.1928, allocations: 208 kB / 0.5789 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.1943, allocations: 0.5032 MB / 0.5794 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001873/0.1962, allocations: 1.421 MB / 0.5807 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002572/0.1988, allocations: 1.696 MB / 0.5824 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00776/0.2065, allocations: 5.464 MB / 0.5877 GB, free: 4.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2065, allocations: 0 / 0.5877 GB, free: 4.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2065, allocations: 0 / 0.5877 GB, free: 4.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001924/0.2067, allocations: 0 / 0.5877 GB, free: 4.527 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.007956/0.2147, allocations: 3.672 MB / 0.5913 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.2147, allocations: 12.03 kB / 0.5913 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001496/0.2162, allocations: 0.671 MB / 0.592 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3213/0.5375, allocations: 2.954 MB / 0.5949 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/0.5419, allocations: 1.536 MB / 0.5964 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.5422, allocations: 174.3 kB / 0.5965 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.5435, allocations: 225.4 kB / 0.5968 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/0.5632, allocations: 9.477 MB / 0.606 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.431e-05/0.5633, allocations: 19.72 kB / 0.606 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006172/0.5639, allocations: 105.9 kB / 0.6061 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004558/0.5685, allocations: 2.374 MB / 0.6084 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/0.587, allocations: 8.664 MB / 0.6169 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04172/0.6287, allocations: 29.16 MB / 0.6454 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005754/0.6345, allocations: 2.939 MB / 0.6483 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.636, allocations: 0.9074 MB / 0.6491 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.6461, allocations: 4.847 MB / 0.6539 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.6462, allocations: 47.16 kB / 0.6539 GB, free: 2.805 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 6.362e-06/0.6462, allocations: 4 kB / 0.6539 GB, free: 2.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006828/0.653, allocations: 2.737 MB / 0.6566 GB, free: 60 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.6531, allocations: 64.05 kB / 0.6567 GB, free: 15.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004282/0.6574, allocations: 2.566 MB / 0.6592 GB, free: 13.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.6575, allocations: 41.7 kB / 0.6592 GB, free: 13.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00238/0.6599, allocations: 2.759 MB / 0.6619 GB, free: 10.56 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008091/0.6607, allocations: 0.504 MB / 0.6624 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/0.6622, allocations: 0.9091 MB / 0.6633 GB, free: 9.129 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002722/0.6624, allocations: 365.9 kB / 0.6636 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.6647, allocations: 1.355 MB / 0.665 GB, free: 7.402 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005609/0.6704, allocations: 4.124 MB / 0.669 GB, free: 1.891 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008628/0.679, allocations: 5.96 MB / 0.6748 GB, free: 10.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.746e-05/0.6791, allocations: 28 kB / 0.6748 GB, free: 10.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01154/0.6906, allocations: 5.288 MB / 0.68 GB, free: 5.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.778e-05/0.6907, allocations: 48 kB / 0.68 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/0.6908, allocations: 100 kB / 0.6801 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.691, allocations: 128 kB / 0.6803 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/0.694, allocations: 0.9786 MB / 0.6812 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001818/0.6942, allocations: 187.9 kB / 0.6814 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/0.6972, allocations: 0.6242 MB / 0.682 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005594/0.6978, allocations: 276 kB / 0.6823 GB, free: 2.902 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.003282/0.7011, allocations: 1.897 MB / 0.6841 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/0.7015, allocations: 226.5 kB / 0.6843 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006347/0.7021, allocations: 271.3 kB / 0.6846 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.39e-05/0.7022, allocations: 23.92 kB / 0.6846 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.7022, allocations: 7.984 kB / 0.6846 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.7022, allocations: 3.984 kB / 0.6846 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.7133, allocations: 5.603 MB / 0.6901 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.7133, allocations: 4.562 kB / 0.6901 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000624/0.7139, allocations: 143.7 kB / 0.6902 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.7139, allocations: 8 kB / 0.6902 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/0.714, allocations: 23.47 kB / 0.6903 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.714, allocations: 8 kB / 0.6903 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.714, allocations: 7.938 kB / 0.6903 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.7168, allocations: 1.809 MB / 0.692 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006398/0.7174, allocations: 295.3 kB / 0.6923 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/0.7177, allocations: 19.98 kB / 0.6923 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.7183, allocations: 39.97 kB / 0.6924 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.7184, allocations: 64.36 kB / 0.6924 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-05/0.7185, allocations: 43.98 kB / 0.6925 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002867/0.7214, allocations: 1.556 MB / 0.694 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7214, allocations: 0 / 0.694 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004458/0.7259, allocations: 1 MB / 0.695 GB, free: 5.625 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.00357/0.7294, allocations: 2.444 MB / 0.6974 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00585/0.7353, allocations: 3.023 MB / 0.7003 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.7353, allocations: 0 / 0.7003 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.7364, allocations: 0.6827 MB / 0.701 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.738, allocations: 258.7 kB / 0.7012 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0537/0.7917, allocations: 29.36 MB / 0.7299 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004901/0.7966, allocations: 2.962 MB / 0.7328 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003459/0.8001, allocations: 1.48 MB / 0.7343 GB, free: 9.504 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002569/0.8027, allocations: 1.515 MB / 0.7357 GB, free: 7.988 MB / 0.545 GB Notification: Performance of SimCode: time 1.523e-06/0.8027, allocations: 0 / 0.7357 GB, free: 7.988 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08632/0.889, allocations: 38.79 MB / 0.7736 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/17.19, allocations: 8.062 kB / 0.7736 GB, free: 1.379 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 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.csv","/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.csv. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.382701887006988]