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.001589/0.001589, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001627/0.001627, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.524/1.524, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2734/0.2734, allocations: 46.9 MB / 357.4 MB, free: 10.5 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.002212/0.002212, allocations: 72.25 kB / 0.4912 GB, free: 26.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1315, allocations: 65.99 MB / 0.5557 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01394/0.1455, allocations: 11.3 MB / 0.5667 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007625/0.1531, allocations: 2.831 MB / 0.5695 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.1552, allocations: 55.88 kB / 0.5695 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003342/0.1585, allocations: 1.347 MB / 0.5708 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003667/0.1622, allocations: 1.249 MB / 0.5721 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.1627, allocations: 83.83 kB / 0.5721 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004397/0.1671, allocations: 2.717 MB / 0.5748 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003257/0.1704, allocations: 1.625 MB / 0.5764 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.173, allocations: 1.035 MB / 0.5774 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/0.1762, allocations: 1.612 MB / 0.579 GB, free: 1.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.1772, allocations: 211.9 kB / 0.5792 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.1791, allocations: 0.5071 MB / 0.5797 GB, free: 444 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002264/0.1814, allocations: 1.421 MB / 0.581 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003444/0.1848, allocations: 1.696 MB / 0.5827 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008117/0.1929, allocations: 5.468 MB / 0.588 GB, free: 7.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.1929, allocations: 0 / 0.588 GB, free: 7.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.193, allocations: 0 / 0.588 GB, free: 7.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002096/0.1932, allocations: 0 / 0.588 GB, free: 7.809 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.008684/0.2018, allocations: 3.671 MB / 0.5916 GB, free: 4.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.2019, allocations: 12.03 kB / 0.5916 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001847/0.2037, allocations: 0.6671 MB / 0.5923 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.2143, allocations: 2.962 MB / 0.5952 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004516/0.2188, allocations: 1.538 MB / 0.5967 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.219, allocations: 172.6 kB / 0.5969 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.22, allocations: 231.8 kB / 0.5971 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0183/0.2383, allocations: 9.472 MB / 0.6063 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.2384, allocations: 15.81 kB / 0.6063 GB, free: 4.562 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008259/0.2393, allocations: 111.8 kB / 0.6064 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004295/0.2436, allocations: 2.373 MB / 0.6088 GB, free: 2.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2967/0.5403, allocations: 8.657 MB / 0.6172 GB, free: 43.67 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04145/0.5817, allocations: 29.16 MB / 0.6457 GB, free: 25.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004138/0.5859, allocations: 2.94 MB / 0.6486 GB, free: 23.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.5869, allocations: 0.9019 MB / 0.6494 GB, free: 22.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008203/0.5951, allocations: 4.849 MB / 0.6542 GB, free: 19.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.5952, allocations: 42.88 kB / 0.6542 GB, free: 19.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 4.699e-06/0.5952, allocations: 0 / 0.6542 GB, free: 19.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.00555/0.6007, allocations: 2.737 MB / 0.6569 GB, free: 17.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.6008, allocations: 60.06 kB / 0.657 GB, free: 17.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/0.6045, allocations: 2.569 MB / 0.6595 GB, free: 14.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.6047, allocations: 45.53 kB / 0.6595 GB, free: 14.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.6063, allocations: 2.76 MB / 0.6622 GB, free: 12.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.6067, allocations: 0.5112 MB / 0.6627 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009065/0.6076, allocations: 0.909 MB / 0.6636 GB, free: 10.63 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.6077, allocations: 353.9 kB / 0.6639 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.6092, allocations: 1.359 MB / 0.6653 GB, free: 8.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/0.6116, allocations: 4.114 MB / 0.6693 GB, free: 3.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006592/0.6182, allocations: 5.968 MB / 0.6751 GB, free: 12.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/0.6183, allocations: 28 kB / 0.6751 GB, free: 12.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00981/0.6282, allocations: 5.296 MB / 0.6803 GB, free: 6.738 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.974e-05/0.6282, allocations: 44 kB / 0.6803 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/0.6284, allocations: 106.1 kB / 0.6804 GB, free: 6.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/0.6285, allocations: 128 kB / 0.6806 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/0.6315, allocations: 0.9708 MB / 0.6815 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001848/0.6317, allocations: 191.2 kB / 0.6817 GB, free: 5.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/0.6346, allocations: 0.6205 MB / 0.6823 GB, free: 4.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004924/0.6351, allocations: 279.8 kB / 0.6826 GB, free: 4.414 MB / 478.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.003191/0.6383, allocations: 1.883 MB / 0.6844 GB, free: 2.516 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/0.6387, allocations: 238.4 kB / 0.6846 GB, free: 2.281 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005937/0.6393, allocations: 267.3 kB / 0.6849 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.89e-05/0.6393, allocations: 16 kB / 0.6849 GB, free: 2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.6393, allocations: 0 / 0.6849 GB, free: 2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.6394, allocations: 3.984 kB / 0.6849 GB, free: 1.996 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.6503, allocations: 5.617 MB / 0.6904 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/0.6503, allocations: 4 kB / 0.6904 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/0.6509, allocations: 139.7 kB / 0.6905 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.819e-05/0.6509, allocations: 8 kB / 0.6905 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.651, allocations: 19.98 kB / 0.6906 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.651, allocations: 8 kB / 0.6906 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.256e-05/0.651, allocations: 15.94 kB / 0.6906 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.6534, allocations: 1.807 MB / 0.6923 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006144/0.654, allocations: 295.3 kB / 0.6926 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/0.6544, allocations: 23.83 kB / 0.6926 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007058/0.6551, allocations: 39.95 kB / 0.6927 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.6552, allocations: 56.38 kB / 0.6927 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.17e-05/0.6553, allocations: 51.89 kB / 0.6928 GB, free: 9.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002917/0.6582, allocations: 1.556 MB / 0.6943 GB, free: 8.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6582, allocations: 0 / 0.6943 GB, free: 8.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004356/0.6626, allocations: 1 MB / 0.6953 GB, free: 7.164 MB / 494.1 MB 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.003261/0.6658, allocations: 2.441 MB / 0.6977 GB, free: 4.641 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005309/0.6711, allocations: 3.018 MB / 0.7006 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.6712, allocations: 1.812 kB / 0.7006 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.6722, allocations: 0.6876 MB / 0.7013 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.6739, allocations: 245.9 kB / 0.7015 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04877/0.7226, allocations: 29.37 MB / 0.7302 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003879/0.7265, allocations: 2.962 MB / 0.7331 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003384/0.7299, allocations: 1.484 MB / 0.7346 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002378/0.7323, allocations: 1.507 MB / 0.736 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of SimCode: time 1.823e-06/0.7323, allocations: 0 / 0.736 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08619/0.8185, allocations: 38.79 MB / 0.7739 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/15.93, allocations: 12.05 kB / 0.7739 GB, free: 2.875 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.mat. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.367998784873635]