Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.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.001347/0.001347, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001663/0.001663, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.47/1.47, allocations: 230.4 MB / 254 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.91 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 83.88 kB / 0.491 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1365, allocations: 66.04 MB / 0.5554 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01351/0.15, allocations: 11.29 MB / 0.5665 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007531/0.1576, allocations: 2.839 MB / 0.5692 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.1592, allocations: 59.81 kB / 0.5693 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.1621, allocations: 1.339 MB / 0.5706 GB, free: 5.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.1654, allocations: 1.257 MB / 0.5718 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.1658, allocations: 71.84 kB / 0.5719 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003923/0.1697, allocations: 2.725 MB / 0.5746 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.172, allocations: 1.622 MB / 0.5762 GB, free: 228 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.1738, allocations: 1.055 MB / 0.5772 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.1762, allocations: 1.604 MB / 0.5787 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007031/0.1769, allocations: 212 kB / 0.579 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.1783, allocations: 0.5032 MB / 0.5794 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001681/0.18, allocations: 1.425 MB / 0.5808 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002266/0.1823, allocations: 1.7 MB / 0.5825 GB, free: 9.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006236/0.1885, allocations: 5.456 MB / 0.5878 GB, free: 4.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1885, allocations: 0 / 0.5878 GB, free: 4.223 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1885, allocations: 0 / 0.5878 GB, free: 4.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001562/0.1887, allocations: 0 / 0.5878 GB, free: 4.223 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.006388/0.1951, allocations: 3.68 MB / 0.5914 GB, free: 484 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.1951, allocations: 8.031 kB / 0.5914 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2561/0.4512, allocations: 0.6685 MB / 0.5921 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.4618, allocations: 2.964 MB / 0.595 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.4649, allocations: 1.536 MB / 0.5965 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.4651, allocations: 172.7 kB / 0.5966 GB, free: 32.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008027/0.4659, allocations: 222.2 kB / 0.5968 GB, free: 32.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.4812, allocations: 9.47 MB / 0.6061 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.188e-05/0.4813, allocations: 27.5 kB / 0.6061 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003773/0.4816, allocations: 110.5 kB / 0.6062 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004081/0.4857, allocations: 2.376 MB / 0.6085 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.502, allocations: 8.671 MB / 0.617 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03521/0.5372, allocations: 29.15 MB / 0.6455 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005191/0.5424, allocations: 2.94 MB / 0.6484 GB, free: 8.836 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.5438, allocations: 0.9028 MB / 0.6492 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008752/0.5526, allocations: 4.85 MB / 0.654 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.5526, allocations: 43.2 kB / 0.654 GB, free: 2.777 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 5.25e-06/0.5526, allocations: 3.938 kB / 0.654 GB, free: 2.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006304/0.5589, allocations: 2.745 MB / 0.6567 GB, free: 20 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.559, allocations: 60.06 kB / 0.6568 GB, free: 15.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003942/0.563, allocations: 2.569 MB / 0.6593 GB, free: 13.35 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.5631, allocations: 41.7 kB / 0.6593 GB, free: 13.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002062/0.5652, allocations: 2.755 MB / 0.662 GB, free: 10.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006313/0.5658, allocations: 0.5157 MB / 0.6625 GB, free: 10 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.567, allocations: 0.9013 MB / 0.6634 GB, free: 9.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.5672, allocations: 353.9 kB / 0.6637 GB, free: 8.738 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.5692, allocations: 1.355 MB / 0.665 GB, free: 7.375 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004243/0.5735, allocations: 4.122 MB / 0.6691 GB, free: 1.863 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007389/0.5809, allocations: 5.964 MB / 0.6749 GB, free: 10.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.733e-05/0.581, allocations: 31.94 kB / 0.6749 GB, free: 10.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01004/0.591, allocations: 5.292 MB / 0.6801 GB, free: 5.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.579e-05/0.5911, allocations: 44.19 kB / 0.6801 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/0.5913, allocations: 104 kB / 0.6802 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.5914, allocations: 128 kB / 0.6803 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/0.5946, allocations: 0.9805 MB / 0.6813 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001916/0.5947, allocations: 191.3 kB / 0.6815 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/0.598, allocations: 0.6126 MB / 0.6821 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007018/0.5987, allocations: 280 kB / 0.6824 GB, free: 2.867 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.003524/0.6022, allocations: 1.903 MB / 0.6842 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004399/0.6027, allocations: 222.5 kB / 0.6844 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006681/0.6033, allocations: 271.3 kB / 0.6847 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-05/0.6034, allocations: 16 kB / 0.6847 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/0.6034, allocations: 0 / 0.6847 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.6034, allocations: 3.984 kB / 0.6847 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.6146, allocations: 5.615 MB / 0.6902 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.6146, allocations: 4 kB / 0.6902 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.6152, allocations: 143.7 kB / 0.6903 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/0.6152, allocations: 8 kB / 0.6903 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/0.6153, allocations: 19.98 kB / 0.6904 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.6153, allocations: 11.98 kB / 0.6904 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/0.6153, allocations: 11.94 kB / 0.6904 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.6179, allocations: 1.801 MB / 0.6921 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006362/0.6185, allocations: 295.3 kB / 0.6924 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/0.6189, allocations: 20 kB / 0.6924 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007647/0.6196, allocations: 39.94 kB / 0.6925 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.6198, allocations: 65.22 kB / 0.6925 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.54e-05/0.6199, allocations: 43.98 kB / 0.6926 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00282/0.6227, allocations: 1.556 MB / 0.6941 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6227, allocations: 0 / 0.6941 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003998/0.6267, allocations: 1.004 MB / 0.6951 GB, free: 5.586 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.003266/0.63, allocations: 2.448 MB / 0.6975 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005117/0.6351, allocations: 3.018 MB / 0.7004 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.6351, allocations: 1.938 kB / 0.7004 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009934/0.6361, allocations: 0.6877 MB / 0.7011 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.6377, allocations: 253.6 kB / 0.7013 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0445/0.6822, allocations: 29.37 MB / 0.73 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003835/0.686, allocations: 2.959 MB / 0.7329 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003278/0.6893, allocations: 1.48 MB / 0.7344 GB, free: 9.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002309/0.6916, allocations: 1.507 MB / 0.7358 GB, free: 7.949 MB / 0.545 GB Notification: Performance of SimCode: time 2.084e-06/0.6916, allocations: 8 kB / 0.7358 GB, free: 7.941 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07997/0.7716, allocations: 38.78 MB / 0.7737 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/15.93, allocations: 4.062 kB / 0.7737 GB, free: 1.293 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.224085567053407]