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.001222/0.001222, allocations: 104.9 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.3 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 76.28 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1557, allocations: 62.44 MB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0248/0.1806, allocations: 28.53 MB / 0.496 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1923, allocations: 5.593 MB / 0.5015 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004181/0.1966, allocations: 115.8 kB / 0.5016 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.1999, allocations: 1.289 MB / 0.5028 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.2036, allocations: 1.148 MB / 0.504 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.204, allocations: 75.91 kB / 0.504 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2114/0.4154, allocations: 3.993 MB / 0.5079 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003595/0.419, allocations: 1.826 MB / 0.5097 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.4208, allocations: 0.9122 MB / 0.5106 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.4231, allocations: 1.525 MB / 0.5121 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005284/0.4237, allocations: 152 kB / 0.5122 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.4249, allocations: 457.1 kB / 0.5127 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.4263, allocations: 1.349 MB / 0.514 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.4278, allocations: 1.653 MB / 0.5156 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005346/0.4332, allocations: 5.096 MB / 0.5206 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4332, allocations: 4.906 kB / 0.5206 GB, free: 8.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4332, allocations: 0 / 0.5206 GB, free: 8.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001423/0.4334, allocations: 0 / 0.5206 GB, free: 8.828 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.007977/0.4414, allocations: 3.575 MB / 0.5241 GB, free: 7.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4414, allocations: 11.66 kB / 0.5241 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001419/0.4429, allocations: 0.6726 MB / 0.5247 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009455/0.4523, allocations: 2.934 MB / 0.5276 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/0.4557, allocations: 1.52 MB / 0.5291 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.4559, allocations: 173.6 kB / 0.5293 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006028/0.4565, allocations: 225 kB / 0.5295 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.4697, allocations: 9.471 MB / 0.5387 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.223e-05/0.4698, allocations: 26.2 kB / 0.5387 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/0.4702, allocations: 108 kB / 0.5389 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003701/0.4739, allocations: 2.377 MB / 0.5412 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.4891, allocations: 8.666 MB / 0.5496 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04265/0.5317, allocations: 29.3 MB / 0.5782 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005261/0.537, allocations: 3.047 MB / 0.5812 GB, free: 4.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.5385, allocations: 0.9804 MB / 0.5822 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008988/0.5476, allocations: 4.844 MB / 0.5869 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.5476, allocations: 39.22 kB / 0.5869 GB, free: 13.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 5.781e-06/0.5476, allocations: 4 kB / 0.5869 GB, free: 13.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.006625/0.5543, allocations: 2.735 MB / 0.5896 GB, free: 11.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.5543, allocations: 60.06 kB / 0.5897 GB, free: 11.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004834/0.5592, allocations: 2.561 MB / 0.5922 GB, free: 8.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.5593, allocations: 40.36 kB / 0.5922 GB, free: 8.543 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002041/0.5614, allocations: 2.644 MB / 0.5948 GB, free: 5.895 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000709/0.5621, allocations: 496.5 kB / 0.5953 GB, free: 5.414 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001758/0.5639, allocations: 0.9016 MB / 0.5962 GB, free: 4.504 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.5641, allocations: 365.9 kB / 0.5965 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.5662, allocations: 1.355 MB / 0.5978 GB, free: 2.777 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00395/0.5702, allocations: 4.113 MB / 0.6018 GB, free: 13.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006439/0.5766, allocations: 5.963 MB / 0.6077 GB, free: 6.383 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.931e-05/0.5767, allocations: 28 kB / 0.6077 GB, free: 6.355 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00866/0.5854, allocations: 5.289 MB / 0.6129 GB, free: 1.391 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.488e-05/0.5855, allocations: 44 kB / 0.6129 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.5857, allocations: 100 kB / 0.613 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.5858, allocations: 131.9 kB / 0.6131 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/0.5887, allocations: 0.9747 MB / 0.6141 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001621/0.5888, allocations: 188 kB / 0.6143 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/0.5918, allocations: 0.6113 MB / 0.6148 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000427/0.5922, allocations: 278.2 kB / 0.6151 GB, free: 15.07 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.003276/0.5955, allocations: 1.887 MB / 0.617 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.5959, allocations: 213.1 kB / 0.6172 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005507/0.5965, allocations: 271.3 kB / 0.6174 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/0.5965, allocations: 15.28 kB / 0.6174 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.5965, allocations: 4 kB / 0.6174 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.5965, allocations: 3.984 kB / 0.6174 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009423/0.606, allocations: 5.611 MB / 0.6229 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.606, allocations: 4 kB / 0.6229 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.6066, allocations: 147.8 kB / 0.6231 GB, free: 6.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.6066, allocations: 8 kB / 0.6231 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/0.6067, allocations: 23.98 kB / 0.6231 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.6067, allocations: 8 kB / 0.6231 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.6067, allocations: 10.66 kB / 0.6231 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.6088, allocations: 1.788 MB / 0.6249 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/0.6093, allocations: 290 kB / 0.6251 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.6096, allocations: 22.64 kB / 0.6252 GB, free: 4.578 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/0.6103, allocations: 35.97 kB / 0.6252 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.6104, allocations: 68.36 kB / 0.6253 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.6105, allocations: 38.89 kB / 0.6253 GB, free: 4.441 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002281/0.6128, allocations: 1.556 MB / 0.6268 GB, free: 2.871 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6128, allocations: 0 / 0.6268 GB, free: 2.871 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003562/0.6164, allocations: 0.9914 MB / 0.6278 GB, free: 1.875 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.002559/0.619, allocations: 2.433 MB / 0.6302 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004454/0.6234, allocations: 3.131 MB / 0.6332 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6234, allocations: 0 / 0.6332 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008672/0.6243, allocations: 0.7413 MB / 0.6339 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.6257, allocations: 242.1 kB / 0.6342 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04678/0.6725, allocations: 32.91 MB / 0.6663 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004499/0.677, allocations: 2.965 MB / 0.6692 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003489/0.6805, allocations: 1.488 MB / 0.6707 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002261/0.6828, allocations: 1.523 MB / 0.6721 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.6828, allocations: 3.938 kB / 0.6721 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.272/0.9549, allocations: 40.33 MB / 0.7115 GB, free: 198.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.9551, allocations: 195.7 kB / 0.7117 GB, free: 197.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/3.833, allocations: 6.734 kB / 0.7117 GB, free: 197.8 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