Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 117.6 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 44.92 MB / 349.6 MB, free: 1.746 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 65 kB / 491.8 MB, free: 29.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1545, allocations: 64.26 MB / 0.543 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02406/0.1786, allocations: 11.34 MB / 0.5541 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009701/0.1883, allocations: 2.8 MB / 0.5568 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.1903, allocations: 51.94 kB / 0.5568 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004618/0.1949, allocations: 1.335 MB / 0.5582 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005316/0.2003, allocations: 1.257 MB / 0.5594 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.201, allocations: 79.84 kB / 0.5595 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006113/0.2071, allocations: 2.755 MB / 0.5621 GB, free: 440 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00384/0.2109, allocations: 1.618 MB / 0.5637 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.2137, allocations: 1.051 MB / 0.5648 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/0.2178, allocations: 1.612 MB / 0.5663 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.2188, allocations: 212 kB / 0.5665 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.221, allocations: 0.5032 MB / 0.567 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002842/0.2238, allocations: 1.445 MB / 0.5684 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003842/0.2277, allocations: 1.723 MB / 0.5701 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.2384, allocations: 5.511 MB / 0.5755 GB, free: 2.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.2384, allocations: 4 kB / 0.5755 GB, free: 2.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2384, allocations: 0 / 0.5755 GB, free: 2.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001876/0.2386, allocations: 4 kB / 0.5755 GB, free: 2.668 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.0111/0.2497, allocations: 3.707 MB / 0.5791 GB, free: 14.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.2498, allocations: 8.031 kB / 0.5791 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002243/0.252, allocations: 0.671 MB / 0.5798 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.2651, allocations: 2.962 MB / 0.5827 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004281/0.2694, allocations: 1.542 MB / 0.5842 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.2696, allocations: 172.6 kB / 0.5843 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009322/0.2705, allocations: 227.8 kB / 0.5846 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01735/0.2879, allocations: 9.472 MB / 0.5938 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.25e-05/0.288, allocations: 11.88 kB / 0.5938 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007911/0.2888, allocations: 107.8 kB / 0.5939 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004051/0.2928, allocations: 2.377 MB / 0.5963 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.3104, allocations: 8.664 MB / 0.6047 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2862/0.5966, allocations: 29.16 MB / 0.6332 GB, free: 37.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004712/0.6013, allocations: 2.945 MB / 0.6361 GB, free: 35.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.6028, allocations: 0.8966 MB / 0.6369 GB, free: 35.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009656/0.6125, allocations: 4.85 MB / 0.6417 GB, free: 33.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.6125, allocations: 43.12 kB / 0.6417 GB, free: 33.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 5.29e-06/0.6125, allocations: 0 / 0.6417 GB, free: 33.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.005727/0.6182, allocations: 2.75 MB / 0.6444 GB, free: 32.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.6183, allocations: 63.86 kB / 0.6445 GB, free: 32.06 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/0.6224, allocations: 2.574 MB / 0.647 GB, free: 30.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.6226, allocations: 37.45 kB / 0.647 GB, free: 30.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.624, allocations: 2.76 MB / 0.6497 GB, free: 28.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004772/0.6245, allocations: 0.5132 MB / 0.6502 GB, free: 28.17 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/0.6257, allocations: 0.9105 MB / 0.6511 GB, free: 27.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.6258, allocations: 353.2 kB / 0.6514 GB, free: 27.31 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.6275, allocations: 1.354 MB / 0.6528 GB, free: 26.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/0.6303, allocations: 4.121 MB / 0.6568 GB, free: 22.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004879/0.6352, allocations: 5.964 MB / 0.6626 GB, free: 15.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.838e-05/0.6353, allocations: 28 kB / 0.6626 GB, free: 15.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007628/0.6429, allocations: 5.287 MB / 0.6678 GB, free: 10.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.266e-05/0.643, allocations: 52.95 kB / 0.6678 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/0.6431, allocations: 100 kB / 0.6679 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/0.6432, allocations: 129.1 kB / 0.6681 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/0.6457, allocations: 0.9786 MB / 0.669 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001265/0.6458, allocations: 187.3 kB / 0.6692 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.6487, allocations: 0.623 MB / 0.6698 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004357/0.6491, allocations: 282.6 kB / 0.6701 GB, free: 8.004 MB / 462.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.0026/0.6517, allocations: 1.893 MB / 0.6719 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.6521, allocations: 234.4 kB / 0.6721 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/0.6526, allocations: 271.4 kB / 0.6724 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.375e-05/0.6526, allocations: 16 kB / 0.6724 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.6527, allocations: 0 / 0.6724 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.6527, allocations: 3.984 kB / 0.6724 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009808/0.6625, allocations: 5.618 MB / 0.6779 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.6625, allocations: 7.844 kB / 0.6779 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.6631, allocations: 143.8 kB / 0.6781 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.819e-05/0.6631, allocations: 8 kB / 0.6781 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.6632, allocations: 23.98 kB / 0.6781 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.6632, allocations: 7.938 kB / 0.6781 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.6632, allocations: 8 kB / 0.6781 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.6657, allocations: 1.803 MB / 0.6799 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/0.6664, allocations: 299.3 kB / 0.6802 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/0.6668, allocations: 16 kB / 0.6802 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/0.6676, allocations: 41.98 kB / 0.6802 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.6677, allocations: 60.38 kB / 0.6803 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-05/0.6678, allocations: 47.89 kB / 0.6803 GB, free: 13.33 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002815/0.6706, allocations: 1.56 MB / 0.6818 GB, free: 11.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6706, allocations: 0 / 0.6818 GB, free: 11.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004177/0.6748, allocations: 1.024 MB / 0.6828 GB, free: 10.73 MB / 478.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.003376/0.6782, allocations: 2.44 MB / 0.6852 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005235/0.6834, allocations: 3.022 MB / 0.6882 GB, free: 5.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.6834, allocations: 0 / 0.6882 GB, free: 5.215 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.6844, allocations: 0.6843 MB / 0.6888 GB, free: 4.527 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.6861, allocations: 254.4 kB / 0.6891 GB, free: 4.285 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05228/0.7384, allocations: 29.39 MB / 0.7178 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00545/0.7439, allocations: 2.967 MB / 0.7207 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003887/0.7478, allocations: 1.488 MB / 0.7221 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002799/0.7506, allocations: 1.515 MB / 0.7236 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of SimCode: time 1.613e-06/0.7506, allocations: 0 / 0.7236 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08366/0.8342, allocations: 38.87 MB / 0.7616 GB, free: 6.375 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/15.77, allocations: 2.656 kB / 0.7616 GB, free: 6.375 MB / 0.545 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.984655370004475]