Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.001009, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009523/0.0009523, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2418/0.2418, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002637/0.0002637, allocations: 12 kB / 418 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 63.46 MB / 481.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01346/0.1738, allocations: 12.33 MB / 493.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.1861, allocations: 4.29 MB / 498.1 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.1893, allocations: 55.88 kB / 498.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.1919, allocations: 0.556 MB / 498.7 MB, free: 4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007723/0.1997, allocations: 1.944 MB / 0.4889 GB, free: 2.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.2014, allocations: 435.1 kB / 0.4894 GB, free: 1.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003639/0.205, allocations: 1.505 MB / 0.4908 GB, free: 124 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003591/0.2086, allocations: 1.378 MB / 0.4922 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.2102, allocations: 0.6033 MB / 0.4928 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.212, allocations: 0.8488 MB / 0.4936 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006102/0.2126, allocations: 76 kB / 0.4937 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.2147, allocations: 0.7528 MB / 0.4944 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.2161, allocations: 0.8883 MB / 0.4953 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009432/0.2171, allocations: 0.4923 MB / 0.4958 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004253/0.2213, allocations: 3.021 MB / 0.4987 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2213, allocations: 0 / 0.4987 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2214, allocations: 0 / 0.4987 GB, free: 8.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001356/0.2215, allocations: 0 / 0.4987 GB, free: 8.012 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.006167/0.2277, allocations: 2.559 MB / 0.5012 GB, free: 5.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.2277, allocations: 8.031 kB / 0.5012 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006867/0.2284, allocations: 462.3 kB / 0.5016 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006658/0.2351, allocations: 1.989 MB / 0.5036 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003521/0.2386, allocations: 1.413 MB / 0.505 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.2388, allocations: 123 kB / 0.5051 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000405/0.2392, allocations: 155.9 kB / 0.5052 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3489/0.5881, allocations: 6.48 MB / 0.5116 GB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.032e-05/0.5883, allocations: 32.62 kB / 0.5116 GB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000265/0.5885, allocations: 84.88 kB / 0.5117 GB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002891/0.5914, allocations: 1.44 MB / 0.5131 GB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.6038, allocations: 5.747 MB / 0.5187 GB, free: 18.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03126/0.6351, allocations: 26.82 MB / 0.5449 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004066/0.6392, allocations: 2.148 MB / 0.547 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.6394, allocations: 178.8 kB / 0.5472 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.6394, allocations: 52.02 kB / 0.5472 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.766e-06/0.6394, allocations: 0 / 0.5472 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01521/0.6547, allocations: 6.643 MB / 0.5537 GB, free: 11.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.6548, allocations: 141 kB / 0.5538 GB, free: 11.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/0.6588, allocations: 2.993 MB / 0.5568 GB, free: 8.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.659, allocations: 43.27 kB / 0.5568 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001454/0.6604, allocations: 2.099 MB / 0.5588 GB, free: 6.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004948/0.6609, allocations: 460.6 kB / 0.5593 GB, free: 6.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.6611, allocations: 88 kB / 0.5594 GB, free: 5.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002802/0.6614, allocations: 0.4943 MB / 0.5598 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.6637, allocations: 1.398 MB / 0.5612 GB, free: 4.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004054/0.6677, allocations: 4.256 MB / 0.5654 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.6715, allocations: 2.393 MB / 0.5677 GB, free: 12.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.406e-05/0.6716, allocations: 32 kB / 0.5677 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.00892/0.6805, allocations: 5.45 MB / 0.5731 GB, free: 6.973 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.094e-05/0.6806, allocations: 52 kB / 0.5731 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.6807, allocations: 100 kB / 0.5732 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.6809, allocations: 148 kB / 0.5733 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/0.6851, allocations: 1.22 MB / 0.5745 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001774/0.6853, allocations: 203.2 kB / 0.5747 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/0.6885, allocations: 241.6 kB / 0.575 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003801/0.6889, allocations: 281.3 kB / 0.5752 GB, free: 4.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002407/0.6913, allocations: 1.385 MB / 0.5766 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/0.6918, allocations: 244.8 kB / 0.5768 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.6937, allocations: 1.234 MB / 0.578 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/0.6937, allocations: 20 kB / 0.578 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.6938, allocations: 2.188 kB / 0.578 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.6938, allocations: 3.984 kB / 0.578 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/0.7015, allocations: 4.559 MB / 0.5825 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.7015, allocations: 8.531 kB / 0.5825 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.7033, allocations: 368.2 kB / 0.5829 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.7033, allocations: 8 kB / 0.5829 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.977e-05/0.7034, allocations: 24 kB / 0.5829 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/0.7034, allocations: 12.61 kB / 0.5829 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.7034, allocations: 12.22 kB / 0.5829 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/0.7063, allocations: 2.595 MB / 0.5854 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/0.7069, allocations: 325.7 kB / 0.5858 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.7072, allocations: 35.89 kB / 0.5858 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008367/0.708, allocations: 51.92 kB / 0.5858 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.7082, allocations: 67.81 kB / 0.5859 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.312e-05/0.7083, allocations: 37.56 kB / 0.5859 GB, free: 9.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002581/0.7109, allocations: 1.897 MB / 0.5878 GB, free: 7.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7109, allocations: 0 / 0.5878 GB, free: 7.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003324/0.7142, allocations: 0.642 MB / 0.5884 GB, free: 6.988 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003558/0.7178, allocations: 4.409 MB / 0.5927 GB, free: 2.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005189/0.723, allocations: 3.216 MB / 0.5959 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.723, allocations: 0 / 0.5959 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009671/0.724, allocations: 0.7912 MB / 0.5966 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.7254, allocations: 241.7 kB / 0.5969 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06311/0.7885, allocations: 91.42 MB / 0.6861 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/0.7907, allocations: 2.263 MB / 0.6884 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003556/0.7943, allocations: 1.471 MB / 0.6898 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/0.7958, allocations: 1.081 MB / 0.6909 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.7959, allocations: 0 / 0.6909 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.346/1.142, allocations: 48.81 MB / 0.7385 GB, free: 193.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/1.142, allocations: 168.5 kB / 0.7387 GB, free: 193.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4.128, allocations: 3.938 kB / 0.7387 GB, free: 193.4 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat