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.001365/0.001365, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 205.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2475/0.2475, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 87.84 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3851, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0142/0.3994, allocations: 11.25 MB / 0.5416 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009259/0.4087, allocations: 2.817 MB / 0.5443 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.4116, allocations: 53.44 kB / 0.5444 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003805/0.4155, allocations: 1.324 MB / 0.5457 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004182/0.4197, allocations: 1.204 MB / 0.5469 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.4204, allocations: 87 kB / 0.547 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005027/0.4255, allocations: 2.726 MB / 0.5496 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003305/0.4288, allocations: 1.84 MB / 0.5514 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.4313, allocations: 1.051 MB / 0.5524 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002752/0.4341, allocations: 1.444 MB / 0.5538 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008431/0.435, allocations: 212 kB / 0.554 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.4367, allocations: 495.3 kB / 0.5545 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001933/0.4386, allocations: 1.387 MB / 0.5559 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002877/0.4415, allocations: 1.688 MB / 0.5575 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008086/0.4496, allocations: 5.456 MB / 0.5629 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.4497, allocations: 0 / 0.5629 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4497, allocations: 3.938 kB / 0.5629 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001961/0.4499, allocations: 4 kB / 0.5629 GB, free: 0.5547 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.008367/0.4583, allocations: 3.672 MB / 0.5664 GB, free: 12.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.4583, allocations: 8.031 kB / 0.5665 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00154/0.4599, allocations: 0.6749 MB / 0.5671 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.4705, allocations: 2.966 MB / 0.57 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/0.4745, allocations: 1.526 MB / 0.5715 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.4747, allocations: 172.6 kB / 0.5717 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007982/0.4755, allocations: 223.8 kB / 0.5719 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/0.4939, allocations: 9.476 MB / 0.5811 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.379e-05/0.494, allocations: 19.81 kB / 0.5812 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004011/0.4944, allocations: 107.8 kB / 0.5813 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004247/0.4986, allocations: 2.377 MB / 0.5836 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01857/0.5172, allocations: 8.675 MB / 0.592 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05042/0.5677, allocations: 29.15 MB / 0.6205 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005854/0.5736, allocations: 3.05 MB / 0.6235 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.5753, allocations: 0.9805 MB / 0.6245 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009816/0.5852, allocations: 4.839 MB / 0.6292 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.5853, allocations: 43.22 kB / 0.6292 GB, free: 10.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 6.813e-06/0.5853, allocations: 0 / 0.6292 GB, free: 10.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006576/0.5919, allocations: 2.749 MB / 0.6319 GB, free: 8.027 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.592, allocations: 64.05 kB / 0.632 GB, free: 7.953 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.596, allocations: 2.562 MB / 0.6345 GB, free: 5.363 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.5962, allocations: 49.64 kB / 0.6345 GB, free: 5.309 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002273/0.5984, allocations: 2.759 MB / 0.6372 GB, free: 2.523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006747/0.5991, allocations: 0.5117 MB / 0.6377 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/0.6005, allocations: 0.9013 MB / 0.6386 GB, free: 1.094 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.6007, allocations: 361.9 kB / 0.6389 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.6029, allocations: 1.352 MB / 0.6403 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004779/0.6076, allocations: 4.126 MB / 0.6443 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008255/0.6159, allocations: 5.968 MB / 0.6501 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/0.6161, allocations: 28 kB / 0.6501 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01076/0.6269, allocations: 5.288 MB / 0.6553 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-05/0.627, allocations: 48.25 kB / 0.6553 GB, free: 13.14 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.6271, allocations: 100 kB / 0.6554 GB, free: 13.05 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.6273, allocations: 128 kB / 0.6556 GB, free: 12.92 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/0.6305, allocations: 0.9786 MB / 0.6565 GB, free: 11.94 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001859/0.6307, allocations: 191.3 kB / 0.6567 GB, free: 11.75 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.6338, allocations: 0.6127 MB / 0.6573 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005147/0.6343, allocations: 276 kB / 0.6576 GB, free: 10.87 MB / 0.5138 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.003467/0.6378, allocations: 1.899 MB / 0.6594 GB, free: 8.957 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/0.6382, allocations: 226.5 kB / 0.6596 GB, free: 8.734 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006192/0.6389, allocations: 267.3 kB / 0.6599 GB, free: 8.469 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.797e-05/0.6389, allocations: 19.98 kB / 0.6599 GB, free: 8.449 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.6389, allocations: 0 / 0.6599 GB, free: 8.449 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.639, allocations: 3.984 kB / 0.6599 GB, free: 8.445 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.6497, allocations: 5.614 MB / 0.6654 GB, free: 2.707 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.6497, allocations: 4 kB / 0.6654 GB, free: 2.703 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.6503, allocations: 139.8 kB / 0.6655 GB, free: 2.566 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.6504, allocations: 8 kB / 0.6655 GB, free: 2.559 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/0.6504, allocations: 19.98 kB / 0.6656 GB, free: 2.539 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.6504, allocations: 15.94 kB / 0.6656 GB, free: 2.523 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.6505, allocations: 8 kB / 0.6656 GB, free: 2.516 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.6529, allocations: 1.805 MB / 0.6673 GB, free: 0.6367 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.6534, allocations: 291.3 kB / 0.6676 GB, free: 340 kB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.6536, allocations: 23.98 kB / 0.6676 GB, free: 316 kB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.6542, allocations: 39.95 kB / 0.6677 GB, free: 276 kB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.6544, allocations: 64.36 kB / 0.6677 GB, free: 212 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/0.6545, allocations: 40 kB / 0.6678 GB, free: 172 kB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002568/0.6571, allocations: 1.564 MB / 0.6693 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6571, allocations: 0 / 0.6693 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003632/0.6607, allocations: 1.004 MB / 0.6703 GB, free: 13.58 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.002998/0.6637, allocations: 2.437 MB / 0.6727 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005136/0.6689, allocations: 3.16 MB / 0.6758 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6689, allocations: 0 / 0.6758 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.6699, allocations: 0.7346 MB / 0.6765 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.6712, allocations: 259.1 kB / 0.6767 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04687/0.7181, allocations: 29.38 MB / 0.7054 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003907/0.7221, allocations: 2.958 MB / 0.7083 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003418/0.7255, allocations: 1.484 MB / 0.7097 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/0.728, allocations: 1.511 MB / 0.7112 GB, free: 15.74 MB / 0.5763 GB Notification: Performance of SimCode: time 1.542e-06/0.728, allocations: 4 kB / 0.7112 GB, free: 15.74 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3546/1.083, allocations: 38.51 MB / 0.7488 GB, free: 173.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.6, allocations: 0.5938 kB / 0.7488 GB, free: 173.3 MB / 0.5763 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