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.001655/0.001655, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001814/0.001814, allocations: 210.9 kB / 24.51 MB, free: 3.941 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.553/1.553, allocations: 230.5 MB / 258.2 MB, free: 7.805 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.2472/0.2472, allocations: 46.94 MB / 361.6 MB, free: 4.051 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 79.88 kB / 0.4969 GB, free: 7.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3392, allocations: 66.09 MB / 0.5614 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01373/0.3529, allocations: 9.735 MB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006616/0.3595, allocations: 2.691 MB / 0.5736 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.3612, allocations: 59.81 kB / 0.5736 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.3646, allocations: 1.308 MB / 0.5749 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003466/0.3681, allocations: 1.253 MB / 0.5761 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.3687, allocations: 83.84 kB / 0.5762 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004724/0.3734, allocations: 2.715 MB / 0.5788 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00353/0.377, allocations: 1.675 MB / 0.5805 GB, free: 440 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.3795, allocations: 1.063 MB / 0.5815 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003299/0.3828, allocations: 1.608 MB / 0.5831 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.3839, allocations: 208 kB / 0.5833 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.3856, allocations: 415.3 kB / 0.5837 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002619/0.3882, allocations: 1.433 MB / 0.5851 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003217/0.3914, allocations: 1.191 MB / 0.5862 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0095/0.4009, allocations: 5.476 MB / 0.5916 GB, free: 5.004 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.4009, allocations: 3.938 kB / 0.5916 GB, free: 5 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4009, allocations: 0 / 0.5916 GB, free: 5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002628/0.4012, allocations: 0 / 0.5916 GB, free: 5 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.01079/0.412, allocations: 3.601 MB / 0.5951 GB, free: 1.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.75e-05/0.4121, allocations: 12.03 kB / 0.5951 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002413/0.4123, allocations: 84.62 kB / 0.5952 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002702/0.415, allocations: 0.671 MB / 0.5959 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.4261, allocations: 2.962 MB / 0.5988 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00424/0.4303, allocations: 1.488 MB / 0.6002 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.4306, allocations: 180.4 kB / 0.6004 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.4318, allocations: 219.8 kB / 0.6006 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/0.4493, allocations: 9.472 MB / 0.6098 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-05/0.4493, allocations: 23.8 kB / 0.6099 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004243/0.4498, allocations: 103.8 kB / 0.61 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004051/0.4538, allocations: 2.377 MB / 0.6123 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/0.4722, allocations: 8.675 MB / 0.6208 GB, free: 6.633 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04798/0.5202, allocations: 27.64 MB / 0.6477 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00505/0.5253, allocations: 2.029 MB / 0.6497 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.5268, allocations: 0.9023 MB / 0.6506 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00909/0.5359, allocations: 3.775 MB / 0.6543 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.5359, allocations: 47.22 kB / 0.6543 GB, free: 3.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.057e-06/0.5359, allocations: 3.938 kB / 0.6543 GB, free: 3.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006794/0.5427, allocations: 2.749 MB / 0.657 GB, free: 0.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.5428, allocations: 60.06 kB / 0.6571 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/0.547, allocations: 2.562 MB / 0.6596 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.5471, allocations: 41.69 kB / 0.6596 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002365/0.5495, allocations: 2.759 MB / 0.6623 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006909/0.5502, allocations: 0.5155 MB / 0.6628 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.5515, allocations: 0.9091 MB / 0.6637 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002543/0.5518, allocations: 357.9 kB / 0.6641 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.5541, allocations: 1.355 MB / 0.6654 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004985/0.5591, allocations: 4.118 MB / 0.6694 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007969/0.5671, allocations: 5.964 MB / 0.6752 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/0.5672, allocations: 28 kB / 0.6753 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01081/0.578, allocations: 5.288 MB / 0.6804 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.246e-05/0.5781, allocations: 48 kB / 0.6805 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/0.5782, allocations: 96 kB / 0.6806 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.5784, allocations: 128 kB / 0.6807 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/0.5817, allocations: 0.9864 MB / 0.6816 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002027/0.5819, allocations: 187.9 kB / 0.6818 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/0.5852, allocations: 0.6166 MB / 0.6824 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006699/0.5858, allocations: 283.8 kB / 0.6827 GB, free: 3.469 MB / 0.5137 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.003711/0.5895, allocations: 1.889 MB / 0.6845 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.59, allocations: 222.5 kB / 0.6847 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/0.5906, allocations: 275.3 kB / 0.685 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/0.5906, allocations: 12 kB / 0.685 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.5907, allocations: 0 / 0.685 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5907, allocations: 7.984 kB / 0.685 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.6014, allocations: 5.453 MB / 0.6904 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.6014, allocations: 4.562 kB / 0.6904 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/0.602, allocations: 139.7 kB / 0.6905 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.6021, allocations: 12 kB / 0.6905 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.6021, allocations: 20 kB / 0.6905 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.6021, allocations: 7.984 kB / 0.6905 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.6022, allocations: 11.94 kB / 0.6905 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.6046, allocations: 1.797 MB / 0.6923 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.6052, allocations: 222.2 kB / 0.6925 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.6055, allocations: 23.94 kB / 0.6925 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006425/0.6061, allocations: 39.95 kB / 0.6926 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.6062, allocations: 68.28 kB / 0.6926 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-05/0.6063, allocations: 39.98 kB / 0.6927 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002696/0.609, allocations: 1.552 MB / 0.6942 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.31e-07/0.609, allocations: 0 / 0.6942 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003911/0.6129, allocations: 1.008 MB / 0.6952 GB, free: 6.457 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.003264/0.6162, allocations: 2.445 MB / 0.6976 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005336/0.6215, allocations: 3.009 MB / 0.7005 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.6216, allocations: 6 kB / 0.7005 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009973/0.6226, allocations: 0.6833 MB / 0.7012 GB, free: 268 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.624, allocations: 246.3 kB / 0.7014 GB, free: 20 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3172/0.9412, allocations: 29.38 MB / 0.7301 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004024/0.9453, allocations: 2.414 MB / 0.7325 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002859/0.9481, allocations: 1.486 MB / 0.7339 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/0.9502, allocations: 1.513 MB / 0.7354 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of SimCode: time 2.515e-06/0.9502, allocations: 1.406 kB / 0.7354 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06922/1.019, allocations: 40.1 MB / 0.7745 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.61/19.63, allocations: 8 kB / 0.7745 GB, free: 121.3 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: 23.320126036996953]