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.002069/0.002069, allocations: 116.4 kB / 20.32 MB, free: 1.57 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.001813/0.001813, allocations: 205.6 kB / 23.6 MB, free: 4.957 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.475/1.475, allocations: 230.4 MB / 257.1 MB, free: 8.051 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.2279/0.2279, allocations: 46.92 MB / 360.5 MB, free: 4.309 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.002588/0.002588, allocations: 79.88 kB / 0.4958 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3174, allocations: 66.08 MB / 0.5603 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01308/0.3304, allocations: 11.2 MB / 0.5713 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006451/0.3369, allocations: 2.813 MB / 0.574 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.3382, allocations: 59.81 kB / 0.5741 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.3409, allocations: 1.358 MB / 0.5754 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.3437, allocations: 1.253 MB / 0.5766 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.344, allocations: 83.84 kB / 0.5767 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003333/0.3474, allocations: 2.723 MB / 0.5794 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.3495, allocations: 1.675 MB / 0.581 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.3511, allocations: 1.066 MB / 0.582 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.3534, allocations: 1.6 MB / 0.5836 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000407/0.3538, allocations: 208 kB / 0.5838 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009582/0.3547, allocations: 415.5 kB / 0.5842 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.3562, allocations: 1.437 MB / 0.5856 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.3584, allocations: 1.7 MB / 0.5873 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007058/0.3655, allocations: 5.476 MB / 0.5926 GB, free: 3.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3655, allocations: 0 / 0.5926 GB, free: 3.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3655, allocations: 3.938 kB / 0.5926 GB, free: 3.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002236/0.3657, allocations: 0 / 0.5926 GB, free: 3.121 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.007016/0.3727, allocations: 3.593 MB / 0.5961 GB, free: 15.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3728, allocations: 12.03 kB / 0.5961 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009402/0.3737, allocations: 0.6709 MB / 0.5968 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009636/0.3833, allocations: 2.962 MB / 0.5997 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.3872, allocations: 1.496 MB / 0.6011 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.3874, allocations: 168.7 kB / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005472/0.3879, allocations: 227.8 kB / 0.6015 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/0.403, allocations: 9.472 MB / 0.6108 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.908e-05/0.403, allocations: 11.88 kB / 0.6108 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003461/0.4034, allocations: 107.9 kB / 0.6109 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003697/0.4071, allocations: 2.377 MB / 0.6132 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/0.4239, allocations: 8.675 MB / 0.6217 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04478/0.4687, allocations: 28.94 MB / 0.6499 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004725/0.4734, allocations: 2.04 MB / 0.6519 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.4749, allocations: 0.9023 MB / 0.6528 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008798/0.4837, allocations: 3.946 MB / 0.6567 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.4837, allocations: 43.22 kB / 0.6567 GB, free: 124 kB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.468e-06/0.4837, allocations: 0 / 0.6567 GB, free: 124 kB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006623/0.4904, allocations: 2.749 MB / 0.6594 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.4904, allocations: 60.06 kB / 0.6594 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/0.495, allocations: 2.562 MB / 0.6619 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.4951, allocations: 41.64 kB / 0.662 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002556/0.4977, allocations: 2.759 MB / 0.6647 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007315/0.4984, allocations: 0.5157 MB / 0.6652 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.4996, allocations: 0.913 MB / 0.6661 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.4998, allocations: 357.9 kB / 0.6664 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/0.5018, allocations: 1.355 MB / 0.6677 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/0.5067, allocations: 4.114 MB / 0.6718 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007557/0.5142, allocations: 5.968 MB / 0.6776 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-05/0.5143, allocations: 28 kB / 0.6776 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008926/0.5232, allocations: 5.287 MB / 0.6828 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-05/0.5233, allocations: 51.28 kB / 0.6828 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/0.5234, allocations: 96 kB / 0.6829 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/0.5235, allocations: 132 kB / 0.683 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/0.5264, allocations: 0.9825 MB / 0.684 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001659/0.5266, allocations: 191.2 kB / 0.6842 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.5294, allocations: 0.6088 MB / 0.6848 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/0.5298, allocations: 284 kB / 0.685 GB, free: 220 kB / 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.003049/0.5328, allocations: 1.889 MB / 0.6869 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003615/0.5332, allocations: 226.5 kB / 0.6871 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005131/0.5337, allocations: 275.3 kB / 0.6874 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/0.5337, allocations: 15.98 kB / 0.6874 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.5338, allocations: 4 kB / 0.6874 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.5338, allocations: 3.984 kB / 0.6874 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009321/0.5431, allocations: 5.586 MB / 0.6928 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.5431, allocations: 7.938 kB / 0.6929 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/0.5437, allocations: 139.8 kB / 0.693 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.5437, allocations: 8 kB / 0.693 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/0.5438, allocations: 24 kB / 0.693 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/0.5438, allocations: 8 kB / 0.693 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.5438, allocations: 11.92 kB / 0.693 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.5462, allocations: 1.794 MB / 0.6948 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.5466, allocations: 230.2 kB / 0.695 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.5469, allocations: 19.98 kB / 0.695 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/0.5475, allocations: 39.95 kB / 0.6951 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.5476, allocations: 60.28 kB / 0.6951 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.609e-05/0.5477, allocations: 40 kB / 0.6952 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002815/0.5505, allocations: 1.56 MB / 0.6967 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5505, allocations: 0 / 0.6967 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004091/0.5546, allocations: 1.004 MB / 0.6977 GB, free: 3.059 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.003065/0.5577, allocations: 2.441 MB / 0.7 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005037/0.5627, allocations: 3.018 MB / 0.703 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.5627, allocations: 4 kB / 0.703 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009683/0.5637, allocations: 0.6801 MB / 0.7037 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.565, allocations: 254.7 kB / 0.7039 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2921/0.8571, allocations: 29.37 MB / 0.7326 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002827/0.86, allocations: 2.417 MB / 0.7349 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002686/0.8627, allocations: 1.479 MB / 0.7364 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/0.8644, allocations: 1.512 MB / 0.7379 GB, free: 156 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/0.8644, allocations: 3.344 kB / 0.7379 GB, free: 156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07244/0.9368, allocations: 42.51 MB / 0.7794 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.43/19.37, allocations: 16.67 kB / 0.7794 GB, free: 115.7 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 & 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: 22.473466735333204]