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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001296, allocations: 117.1 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 184.2 kB / 18.72 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.83 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3123, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01154/0.3239, allocations: 11.29 MB / 0.5294 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007068/0.331, allocations: 2.79 MB / 0.5322 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.3333, allocations: 53.69 kB / 0.5322 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003162/0.3365, allocations: 1.304 MB / 0.5335 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.34, allocations: 1.222 MB / 0.5347 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.3404, allocations: 85.38 kB / 0.5348 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004423/0.3448, allocations: 2.748 MB / 0.5374 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003389/0.3483, allocations: 1.847 MB / 0.5392 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.3505, allocations: 1.063 MB / 0.5403 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.3529, allocations: 1.443 MB / 0.5417 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005654/0.3535, allocations: 208.2 kB / 0.5419 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.3548, allocations: 0.493 MB / 0.5424 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001394/0.3562, allocations: 1.414 MB / 0.5438 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.358, allocations: 1.715 MB / 0.5454 GB, free: 360 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006329/0.3643, allocations: 5.51 MB / 0.5508 GB, free: 10.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3644, allocations: 0 / 0.5508 GB, free: 10.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3644, allocations: 0 / 0.5508 GB, free: 10.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001468/0.3645, allocations: 0 / 0.5508 GB, free: 10.82 MB / 414.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.005979/0.3705, allocations: 3.711 MB / 0.5544 GB, free: 7.039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3706, allocations: 8.031 kB / 0.5544 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007917/0.3714, allocations: 0.671 MB / 0.5551 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009905/0.3813, allocations: 2.962 MB / 0.558 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.3841, allocations: 1.538 MB / 0.5595 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.3843, allocations: 172.6 kB / 0.5597 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/0.3847, allocations: 223.8 kB / 0.5599 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/0.3992, allocations: 9.472 MB / 0.5691 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-05/0.3993, allocations: 15.81 kB / 0.5691 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003569/0.3997, allocations: 107.8 kB / 0.5692 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003991/0.4037, allocations: 2.373 MB / 0.5716 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/0.4205, allocations: 8.672 MB / 0.58 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04189/0.4624, allocations: 29.16 MB / 0.6085 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005132/0.4676, allocations: 3.052 MB / 0.6115 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.469, allocations: 0.9765 MB / 0.6124 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008199/0.4772, allocations: 4.851 MB / 0.6172 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.4773, allocations: 47.22 kB / 0.6172 GB, free: 5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 3.797e-06/0.4773, allocations: 0 / 0.6172 GB, free: 5 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.006151/0.4835, allocations: 2.741 MB / 0.6199 GB, free: 2.254 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.4835, allocations: 60.06 kB / 0.6199 GB, free: 2.184 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.4873, allocations: 2.582 MB / 0.6225 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.4874, allocations: 37.7 kB / 0.6225 GB, free: 15.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002065/0.4895, allocations: 2.759 MB / 0.6252 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000562/0.49, allocations: 0.5078 MB / 0.6257 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.4913, allocations: 0.913 MB / 0.6266 GB, free: 11.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4915, allocations: 361.7 kB / 0.6269 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.4935, allocations: 1.355 MB / 0.6283 GB, free: 9.586 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00451/0.498, allocations: 4.122 MB / 0.6323 GB, free: 4.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00757/0.5056, allocations: 5.964 MB / 0.6381 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.427e-05/0.5057, allocations: 28 kB / 0.6381 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009584/0.5153, allocations: 5.287 MB / 0.6433 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.769e-05/0.5154, allocations: 48 kB / 0.6433 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/0.5156, allocations: 104.8 kB / 0.6434 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/0.5157, allocations: 128 kB / 0.6436 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/0.5188, allocations: 0.9825 MB / 0.6445 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001764/0.519, allocations: 187.3 kB / 0.6447 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/0.5222, allocations: 0.6204 MB / 0.6453 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005571/0.5228, allocations: 279.9 kB / 0.6456 GB, free: 5.07 MB / 0.4981 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.003228/0.526, allocations: 1.895 MB / 0.6474 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/0.5264, allocations: 226.5 kB / 0.6476 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006023/0.527, allocations: 275.4 kB / 0.6479 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/0.5271, allocations: 19.98 kB / 0.6479 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.5271, allocations: 0 / 0.6479 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5271, allocations: 3.984 kB / 0.6479 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.5373, allocations: 5.611 MB / 0.6534 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.5374, allocations: 4 kB / 0.6534 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.538, allocations: 139.8 kB / 0.6535 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.538, allocations: 8 kB / 0.6536 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/0.5381, allocations: 24 kB / 0.6536 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.929e-05/0.5381, allocations: 11.94 kB / 0.6536 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5381, allocations: 4 kB / 0.6536 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.5405, allocations: 1.805 MB / 0.6554 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/0.541, allocations: 299.3 kB / 0.6556 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.5413, allocations: 20 kB / 0.6557 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.5419, allocations: 35.95 kB / 0.6557 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.542, allocations: 60.38 kB / 0.6557 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.463e-05/0.5421, allocations: 43.98 kB / 0.6558 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002512/0.5446, allocations: 1.56 MB / 0.6573 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5447, allocations: 4 kB / 0.6573 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00363/0.5483, allocations: 1.024 MB / 0.6583 GB, free: 7.773 MB / 0.5137 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.003024/0.5513, allocations: 2.44 MB / 0.6607 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0054/0.5568, allocations: 3.155 MB / 0.6638 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.5568, allocations: 0 / 0.6638 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009733/0.5578, allocations: 0.7429 MB / 0.6645 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.5591, allocations: 274.3 kB / 0.6648 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04201/0.6011, allocations: 29.39 MB / 0.6935 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004005/0.6052, allocations: 2.966 MB / 0.6964 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003297/0.6085, allocations: 1.477 MB / 0.6978 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002337/0.6109, allocations: 1.519 MB / 0.6993 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.6109, allocations: 0 / 0.6993 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3208/0.9317, allocations: 38.57 MB / 0.737 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/15.97, allocations: 11.73 kB / 0.737 GB, free: 187.9 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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.0008 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches