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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001298, allocations: 114.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 73.16 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.109, allocations: 62.43 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02866/0.1377, allocations: 28.53 MB / 0.4962 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.1491, allocations: 5.566 MB / 0.5016 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003653/0.1528, allocations: 115.8 kB / 0.5018 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.1555, allocations: 1.246 MB / 0.503 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.1582, allocations: 1.133 MB / 0.5041 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1586, allocations: 75.86 kB / 0.5041 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1968/0.3554, allocations: 2.731 MB / 0.5068 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.3579, allocations: 1.935 MB / 0.5087 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.3594, allocations: 1.045 MB / 0.5097 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.3612, allocations: 1.594 MB / 0.5113 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004009/0.3616, allocations: 207.9 kB / 0.5115 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009752/0.3626, allocations: 499.6 kB / 0.512 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.3638, allocations: 1.401 MB / 0.5133 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.3651, allocations: 1.713 MB / 0.515 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005062/0.3702, allocations: 5.179 MB / 0.5201 GB, free: 8.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3702, allocations: 0 / 0.5201 GB, free: 8.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.3702, allocations: 1.406 kB / 0.5201 GB, free: 8.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001138/0.3703, allocations: 0 / 0.5201 GB, free: 8.871 MB / 382.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.005647/0.376, allocations: 3.574 MB / 0.5235 GB, free: 7.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.376, allocations: 9.188 kB / 0.5236 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007668/0.3768, allocations: 0.6716 MB / 0.5242 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009008/0.3858, allocations: 2.937 MB / 0.5271 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.3883, allocations: 1.523 MB / 0.5286 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.772e-05/0.3884, allocations: 173 kB / 0.5287 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004325/0.3888, allocations: 224.5 kB / 0.5289 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.3997, allocations: 9.473 MB / 0.5382 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/0.3997, allocations: 19.06 kB / 0.5382 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003312/0.4001, allocations: 107 kB / 0.5383 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00344/0.4035, allocations: 2.378 MB / 0.5406 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.418, allocations: 8.667 MB / 0.5491 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04439/0.4624, allocations: 29.3 MB / 0.5777 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005136/0.4676, allocations: 3.045 MB / 0.5807 GB, free: 4.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.469, allocations: 0.9881 MB / 0.5817 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008783/0.4778, allocations: 4.838 MB / 0.5864 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.4779, allocations: 43.22 kB / 0.5864 GB, free: 14.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 4.228e-06/0.4779, allocations: 0 / 0.5864 GB, free: 14.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.006281/0.4842, allocations: 2.731 MB / 0.5891 GB, free: 11.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.4842, allocations: 60.06 kB / 0.5891 GB, free: 11.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/0.4886, allocations: 2.561 MB / 0.5916 GB, free: 9.164 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.134e-05/0.4887, allocations: 49.22 kB / 0.5917 GB, free: 9.113 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.4906, allocations: 2.64 MB / 0.5943 GB, free: 6.469 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005119/0.4912, allocations: 493.7 kB / 0.5947 GB, free: 5.992 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.4925, allocations: 0.9025 MB / 0.5956 GB, free: 5.078 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.4927, allocations: 363.5 kB / 0.596 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.4949, allocations: 1.355 MB / 0.5973 GB, free: 3.355 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003991/0.4989, allocations: 4.116 MB / 0.6013 GB, free: 13.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006317/0.5052, allocations: 5.965 MB / 0.6071 GB, free: 6.961 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-05/0.5053, allocations: 28 kB / 0.6072 GB, free: 6.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008628/0.5139, allocations: 5.283 MB / 0.6123 GB, free: 2.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.514, allocations: 54.72 kB / 0.6124 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/0.5142, allocations: 99.94 kB / 0.6125 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.5143, allocations: 136 kB / 0.6126 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/0.5169, allocations: 0.9708 MB / 0.6136 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001379/0.5171, allocations: 191.2 kB / 0.6137 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.5198, allocations: 0.6069 MB / 0.6143 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/0.5202, allocations: 270.6 kB / 0.6146 GB, free: 15.72 MB / 478.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.003069/0.5233, allocations: 1.891 MB / 0.6164 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.5237, allocations: 221.1 kB / 0.6166 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.5242, allocations: 267.3 kB / 0.6169 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.674e-05/0.5242, allocations: 19.44 kB / 0.6169 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5242, allocations: 0 / 0.6169 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5242, allocations: 3.984 kB / 0.6169 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.5343, allocations: 5.613 MB / 0.6224 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.5343, allocations: 4 kB / 0.6224 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.5348, allocations: 135.8 kB / 0.6225 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.5349, allocations: 4 kB / 0.6225 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.5349, allocations: 29.14 kB / 0.6226 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.5349, allocations: 8.562 kB / 0.6226 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.535, allocations: 11.94 kB / 0.6226 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.537, allocations: 1.79 MB / 0.6243 GB, free: 5.547 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.5375, allocations: 286 kB / 0.6246 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/0.5378, allocations: 22.97 kB / 0.6246 GB, free: 5.227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006309/0.5384, allocations: 43.95 kB / 0.6247 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.5386, allocations: 60.38 kB / 0.6247 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/0.5386, allocations: 46.8 kB / 0.6248 GB, free: 5.082 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002325/0.541, allocations: 1.56 MB / 0.6263 GB, free: 3.508 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.541, allocations: 0 / 0.6263 GB, free: 3.508 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003661/0.5446, allocations: 0.9836 MB / 0.6273 GB, free: 2.52 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.003003/0.5477, allocations: 2.433 MB / 0.6296 GB, free: 8 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005906/0.5536, allocations: 3.956 MB / 0.6335 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.5536, allocations: 0 / 0.6335 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008748/0.5545, allocations: 0.7451 MB / 0.6342 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.5558, allocations: 255.4 kB / 0.6345 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0468/0.6027, allocations: 32.92 MB / 0.6666 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004224/0.6069, allocations: 2.962 MB / 0.6695 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00351/0.6105, allocations: 1.488 MB / 0.671 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/0.6127, allocations: 1.506 MB / 0.6724 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of SimCode: time 1.422e-06/0.6127, allocations: 0 / 0.6724 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.305/0.9177, allocations: 40.93 MB / 0.7124 GB, free: 199.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.9179, allocations: 190.1 kB / 0.7126 GB, free: 198.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/3.915, allocations: 0 / 0.7126 GB, free: 198.9 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/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_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches