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.001957/0.001957, allocations: 116.7 kB / 20.44 MB, free: 1.469 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.002535/0.002535, allocations: 214.9 kB / 23.74 MB, free: 4.695 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.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.2422/0.2422, allocations: 46.92 MB / 360.8 MB, free: 4.188 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.002622/0.002622, allocations: 75.88 kB / 0.4962 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3259, allocations: 66.09 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01346/0.3394, allocations: 11.3 MB / 0.5718 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006696/0.3461, allocations: 2.852 MB / 0.5745 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.3482, allocations: 59.81 kB / 0.5746 GB, free: 6.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.3515, allocations: 1.35 MB / 0.5759 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003646/0.3551, allocations: 1.253 MB / 0.5771 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.3556, allocations: 83.91 kB / 0.5772 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004095/0.3597, allocations: 2.725 MB / 0.5799 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002569/0.3623, allocations: 1.671 MB / 0.5815 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.3641, allocations: 1.062 MB / 0.5826 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002594/0.3667, allocations: 1.6 MB / 0.5841 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006726/0.3674, allocations: 208 kB / 0.5843 GB, free: 12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.3688, allocations: 0.5071 MB / 0.5848 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001861/0.3707, allocations: 1.433 MB / 0.5862 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002762/0.3734, allocations: 1.696 MB / 0.5879 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007073/0.3805, allocations: 5.46 MB / 0.5932 GB, free: 2.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3805, allocations: 8 kB / 0.5932 GB, free: 2.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3805, allocations: 0 / 0.5932 GB, free: 2.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001862/0.3807, allocations: 0 / 0.5932 GB, free: 2.859 MB / 430.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.007523/0.3882, allocations: 3.597 MB / 0.5967 GB, free: 15.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3883, allocations: 11.97 kB / 0.5967 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001228/0.3895, allocations: 0.6671 MB / 0.5974 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009804/0.3993, allocations: 2.966 MB / 0.6003 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00441/0.4037, allocations: 1.476 MB / 0.6017 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.4039, allocations: 176.6 kB / 0.6019 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000894/0.4048, allocations: 227.8 kB / 0.6021 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.4205, allocations: 9.468 MB / 0.6114 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.293e-05/0.4206, allocations: 11.88 kB / 0.6114 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.4209, allocations: 111.8 kB / 0.6115 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003775/0.4247, allocations: 2.381 MB / 0.6138 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.4416, allocations: 8.664 MB / 0.6223 GB, free: 4.602 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04796/0.4896, allocations: 29.06 MB / 0.6506 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005012/0.4946, allocations: 2.048 MB / 0.6526 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.4961, allocations: 0.9005 MB / 0.6535 GB, free: 3.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00994/0.5061, allocations: 3.95 MB / 0.6574 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.5061, allocations: 43.22 kB / 0.6574 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 5.701e-06/0.5061, allocations: 0 / 0.6574 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.006838/0.513, allocations: 2.749 MB / 0.6601 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.513, allocations: 64 kB / 0.6602 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00504/0.5181, allocations: 2.569 MB / 0.6627 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.5183, allocations: 37.7 kB / 0.6627 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002567/0.5208, allocations: 2.755 MB / 0.6654 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007969/0.5216, allocations: 0.5157 MB / 0.6659 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002089/0.5237, allocations: 0.9052 MB / 0.6668 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002599/0.524, allocations: 361.9 kB / 0.6671 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.5266, allocations: 1.352 MB / 0.6684 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00557/0.5321, allocations: 4.114 MB / 0.6725 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008252/0.5404, allocations: 5.968 MB / 0.6783 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/0.5405, allocations: 28 kB / 0.6783 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.0107/0.5512, allocations: 5.292 MB / 0.6835 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.5513, allocations: 46.03 kB / 0.6835 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001926/0.5515, allocations: 100 kB / 0.6836 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.5517, allocations: 128 kB / 0.6837 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/0.5551, allocations: 0.9747 MB / 0.6847 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002187/0.5553, allocations: 195.2 kB / 0.6849 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/0.5587, allocations: 0.6209 MB / 0.6855 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008555/0.5596, allocations: 280.1 kB / 0.6858 GB, free: 15.84 MB / 0.5294 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.004102/0.5637, allocations: 1.889 MB / 0.6876 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004693/0.5642, allocations: 222.5 kB / 0.6878 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000758/0.5649, allocations: 271.3 kB / 0.6881 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.375e-05/0.565, allocations: 19.91 kB / 0.6881 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.565, allocations: 3.938 kB / 0.6881 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.565, allocations: 11.92 kB / 0.6881 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.5776, allocations: 5.586 MB / 0.6936 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.5777, allocations: 7.938 kB / 0.6936 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006703/0.5783, allocations: 136.4 kB / 0.6937 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/0.5783, allocations: 12 kB / 0.6937 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-05/0.5784, allocations: 24 kB / 0.6937 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.638e-05/0.5785, allocations: 15.92 kB / 0.6937 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5785, allocations: 4 kB / 0.6938 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.581, allocations: 1.797 MB / 0.6955 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006419/0.5817, allocations: 218.2 kB / 0.6957 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/0.5821, allocations: 20 kB / 0.6957 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007773/0.5829, allocations: 35.95 kB / 0.6958 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.583, allocations: 68.28 kB / 0.6958 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.5832, allocations: 39.98 kB / 0.6959 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00304/0.5862, allocations: 1.56 MB / 0.6974 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/0.5862, allocations: 0 / 0.6974 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004266/0.5905, allocations: 1 MB / 0.6984 GB, free: 2.688 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.003355/0.5938, allocations: 2.441 MB / 0.7008 GB, free: 168 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005396/0.5992, allocations: 3.019 MB / 0.7037 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.5992, allocations: 4.062 kB / 0.7037 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.6003, allocations: 0.6824 MB / 0.7044 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.6022, allocations: 255.9 kB / 0.7046 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3162/0.9185, allocations: 29.37 MB / 0.7333 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003306/0.9218, allocations: 2.968 MB / 0.7362 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002881/0.9247, allocations: 1.48 MB / 0.7376 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/0.9265, allocations: 1.513 MB / 0.7391 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.9265, allocations: 3.719 kB / 0.7391 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07678/1.003, allocations: 42.52 MB / 0.7806 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.56/19.56, allocations: 4.062 kB / 0.7807 GB, free: 114.8 MB / 0.5606 GB " [Timeout remaining time 640] (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/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.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: 22.80204235203564]