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.001675/0.001675, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002146/0.002147, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 75.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3155, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01179/0.3274, allocations: 11.25 MB / 0.5415 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006421/0.3339, allocations: 2.815 MB / 0.5442 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.3357, allocations: 52.59 kB / 0.5443 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.3389, allocations: 1.328 MB / 0.5456 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.3427, allocations: 1.208 MB / 0.5468 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.3433, allocations: 91.39 kB / 0.5468 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004074/0.3474, allocations: 2.72 MB / 0.5495 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002659/0.3501, allocations: 1.84 MB / 0.5513 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.352, allocations: 1.043 MB / 0.5523 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.3542, allocations: 1.448 MB / 0.5537 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006891/0.3549, allocations: 212 kB / 0.5539 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.3563, allocations: 491.4 kB / 0.5544 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001606/0.358, allocations: 1.398 MB / 0.5558 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.3603, allocations: 1.7 MB / 0.5574 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006042/0.3664, allocations: 5.433 MB / 0.5627 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3664, allocations: 0 / 0.5627 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.3665, allocations: 4 kB / 0.5627 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002263/0.3667, allocations: 0 / 0.5627 GB, free: 0.6445 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.006873/0.3736, allocations: 3.566 MB / 0.5662 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3736, allocations: 8.031 kB / 0.5662 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001251/0.3749, allocations: 0.671 MB / 0.5669 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009947/0.3849, allocations: 2.94 MB / 0.5697 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/0.389, allocations: 1.533 MB / 0.5712 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.3891, allocations: 172.6 kB / 0.5714 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007977/0.3899, allocations: 223.8 kB / 0.5716 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.4057, allocations: 9.476 MB / 0.5809 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.21e-05/0.4058, allocations: 19.88 kB / 0.5809 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006837/0.4065, allocations: 107.8 kB / 0.581 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004122/0.4106, allocations: 2.381 MB / 0.5833 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/0.4277, allocations: 8.66 MB / 0.5918 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04487/0.4726, allocations: 29.08 MB / 0.6202 GB, free: 4.473 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005234/0.4779, allocations: 3.059 MB / 0.6232 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.4796, allocations: 0.9805 MB / 0.6241 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/0.4904, allocations: 4.829 MB / 0.6288 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.4905, allocations: 47.16 kB / 0.6289 GB, free: 11.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 5.029e-06/0.4905, allocations: 0 / 0.6289 GB, free: 11.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006527/0.497, allocations: 2.728 MB / 0.6316 GB, free: 8.332 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.4971, allocations: 60.06 kB / 0.6316 GB, free: 8.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004402/0.5015, allocations: 2.565 MB / 0.6341 GB, free: 5.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.5017, allocations: 45.69 kB / 0.6342 GB, free: 5.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00206/0.5038, allocations: 2.641 MB / 0.6367 GB, free: 2.938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006362/0.5044, allocations: 0.4899 MB / 0.6372 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/0.5058, allocations: 0.8967 MB / 0.6381 GB, free: 1.531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.506, allocations: 365.8 kB / 0.6384 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.5082, allocations: 1.352 MB / 0.6398 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00422/0.5125, allocations: 4.118 MB / 0.6438 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007177/0.5197, allocations: 5.968 MB / 0.6496 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/0.5198, allocations: 28 kB / 0.6496 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009428/0.5292, allocations: 5.287 MB / 0.6548 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.5294, allocations: 48 kB / 0.6548 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/0.5295, allocations: 96 kB / 0.6549 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.5297, allocations: 128 kB / 0.6551 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/0.5327, allocations: 0.9747 MB / 0.656 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002067/0.5329, allocations: 195.2 kB / 0.6562 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/0.5364, allocations: 0.5953 MB / 0.6568 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000747/0.5372, allocations: 276 kB / 0.657 GB, free: 11.33 MB / 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.003355/0.5405, allocations: 1.895 MB / 0.6589 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/0.541, allocations: 209.2 kB / 0.6591 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006429/0.5416, allocations: 275.3 kB / 0.6594 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/0.5417, allocations: 16 kB / 0.6594 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.5417, allocations: 0 / 0.6594 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.5417, allocations: 7.969 kB / 0.6594 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.5526, allocations: 5.61 MB / 0.6649 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.5527, allocations: 4 kB / 0.6649 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/0.5533, allocations: 139.8 kB / 0.665 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/0.5533, allocations: 8 kB / 0.665 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.685e-05/0.5534, allocations: 20.56 kB / 0.665 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.5534, allocations: 4 kB / 0.665 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.5535, allocations: 15.94 kB / 0.665 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.5559, allocations: 1.788 MB / 0.6668 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006091/0.5565, allocations: 286 kB / 0.6671 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/0.5569, allocations: 20 kB / 0.6671 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/0.5576, allocations: 43.95 kB / 0.6671 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.5577, allocations: 72.23 kB / 0.6672 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/0.5578, allocations: 40 kB / 0.6672 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002903/0.5607, allocations: 1.56 MB / 0.6688 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5607, allocations: 0 / 0.6688 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003772/0.5645, allocations: 0.9837 MB / 0.6697 GB, free: 14.1 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.00299/0.5675, allocations: 2.435 MB / 0.6721 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005025/0.5726, allocations: 3.151 MB / 0.6752 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.5726, allocations: 0 / 0.6752 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.5737, allocations: 0.7386 MB / 0.6759 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.5757, allocations: 258.6 kB / 0.6761 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04513/0.6209, allocations: 29.24 MB / 0.7047 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004421/0.6253, allocations: 2.962 MB / 0.7076 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003507/0.6289, allocations: 1.484 MB / 0.709 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002495/0.6314, allocations: 1.519 MB / 0.7105 GB, free: 408 kB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.6314, allocations: 0 / 0.7105 GB, free: 408 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3015/0.9329, allocations: 38.98 MB / 0.7486 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16, allocations: 11.31 kB / 0.7486 GB, free: 173.5 MB / 0.5762 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