Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 209.9 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2479/0.2479, allocations: 46.92 MB / 361.6 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 87.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3509, allocations: 66.07 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01348/0.3644, allocations: 11.31 MB / 0.5725 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006401/0.3708, allocations: 2.843 MB / 0.5753 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.3725, allocations: 63.81 kB / 0.5754 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.3756, allocations: 1.354 MB / 0.5767 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.379, allocations: 1.256 MB / 0.5779 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.3795, allocations: 79.84 kB / 0.578 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003954/0.3835, allocations: 2.718 MB / 0.5807 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.3859, allocations: 1.683 MB / 0.5823 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.3878, allocations: 1.055 MB / 0.5833 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.3905, allocations: 1.604 MB / 0.5849 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006898/0.3912, allocations: 208 kB / 0.5851 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.3926, allocations: 0.5071 MB / 0.5856 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.3943, allocations: 1.433 MB / 0.587 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.3966, allocations: 1.704 MB / 0.5886 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00734/0.404, allocations: 5.46 MB / 0.594 GB, free: 2.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.404, allocations: 4 kB / 0.594 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.404, allocations: 0 / 0.594 GB, free: 2.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001826/0.4042, allocations: 0 / 0.594 GB, free: 2.879 MB / 430.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.007822/0.412, allocations: 3.601 MB / 0.5975 GB, free: 15.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.412, allocations: 8.031 kB / 0.5975 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001341/0.4134, allocations: 0.6671 MB / 0.5982 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009718/0.4231, allocations: 2.962 MB / 0.6011 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/0.4268, allocations: 1.476 MB / 0.6025 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.427, allocations: 175.8 kB / 0.6027 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008462/0.4278, allocations: 223.8 kB / 0.6029 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01772/0.4456, allocations: 9.468 MB / 0.6121 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-05/0.4456, allocations: 15.88 kB / 0.6121 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005435/0.4462, allocations: 115.7 kB / 0.6122 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004085/0.4503, allocations: 2.377 MB / 0.6146 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.4683, allocations: 8.666 MB / 0.623 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04648/0.5148, allocations: 29.06 MB / 0.6514 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00491/0.5197, allocations: 2.036 MB / 0.6534 GB, free: 4.711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.5212, allocations: 0.9023 MB / 0.6543 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008811/0.53, allocations: 3.954 MB / 0.6581 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.5301, allocations: 39.22 kB / 0.6582 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 4.468e-06/0.5301, allocations: 4 kB / 0.6582 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.006618/0.5367, allocations: 2.737 MB / 0.6609 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.5368, allocations: 60.06 kB / 0.6609 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/0.5408, allocations: 2.577 MB / 0.6634 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.541, allocations: 37.7 kB / 0.6635 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002356/0.5434, allocations: 2.755 MB / 0.6662 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007373/0.5441, allocations: 0.5156 MB / 0.6667 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.5455, allocations: 0.9091 MB / 0.6675 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002516/0.5457, allocations: 365.9 kB / 0.6679 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/0.548, allocations: 1.352 MB / 0.6692 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005022/0.553, allocations: 4.11 MB / 0.6732 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008212/0.5612, allocations: 5.964 MB / 0.6791 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.827e-05/0.5613, allocations: 28 kB / 0.6791 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01059/0.5719, allocations: 5.295 MB / 0.6843 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-05/0.572, allocations: 48 kB / 0.6843 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/0.5721, allocations: 96 kB / 0.6844 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.5723, allocations: 128 kB / 0.6845 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/0.5754, allocations: 0.9786 MB / 0.6855 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001908/0.5756, allocations: 203.7 kB / 0.6857 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/0.5791, allocations: 0.6166 MB / 0.6863 GB, free: 136 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005678/0.5796, allocations: 280 kB / 0.6865 GB, free: 15.86 MB / 0.5294 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.003263/0.5829, allocations: 1.885 MB / 0.6884 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/0.5833, allocations: 226.4 kB / 0.6886 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/0.5839, allocations: 267.3 kB / 0.6888 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.305e-05/0.584, allocations: 19.98 kB / 0.6889 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.584, allocations: 11.88 kB / 0.6889 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.584, allocations: 3.984 kB / 0.6889 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.5948, allocations: 5.586 MB / 0.6943 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.5948, allocations: 4.562 kB / 0.6943 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.5954, allocations: 143.8 kB / 0.6945 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.5954, allocations: 12 kB / 0.6945 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/0.5955, allocations: 20 kB / 0.6945 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.577e-05/0.5955, allocations: 11.94 kB / 0.6945 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/0.5955, allocations: 11.92 kB / 0.6945 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.598, allocations: 1.798 MB / 0.6963 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005703/0.5985, allocations: 218.2 kB / 0.6965 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/0.5988, allocations: 19.98 kB / 0.6965 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006144/0.5994, allocations: 43.91 kB / 0.6966 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.5996, allocations: 64.27 kB / 0.6966 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/0.5996, allocations: 43.98 kB / 0.6967 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00267/0.6023, allocations: 1.556 MB / 0.6982 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6023, allocations: 0 / 0.6982 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003839/0.6062, allocations: 0.9965 MB / 0.6991 GB, free: 2.707 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.003125/0.6093, allocations: 2.441 MB / 0.7015 GB, free: 188 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00516/0.6144, allocations: 3.023 MB / 0.7045 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.6144, allocations: 4 kB / 0.7045 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.6155, allocations: 0.6823 MB / 0.7052 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.6169, allocations: 259.2 kB / 0.7054 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3193/0.9362, allocations: 29.37 MB / 0.7341 GB, free: 157 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00473/0.9409, allocations: 2.963 MB / 0.737 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003596/0.9445, allocations: 1.477 MB / 0.7384 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003108/0.9476, allocations: 1.524 MB / 0.7399 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of SimCode: time 3.416e-06/0.9476, allocations: 0 / 0.7399 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06992/1.018, allocations: 42.41 MB / 0.7813 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/16.16, allocations: 5.969 kB / 0.7813 GB, free: 114.8 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.04877436812967] Failed to read output from testmodel.py, exit status != 0: ['time', 'torus1.surface.nu', 'torus1.surface.nv', 'torus2.surface.nu', 'torus2.surface.nv'] 16.261666344944388 16.279028121 15.8711923 Calling exit ...