Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.624/1.624, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 96.95 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3399/0.3399, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002785, allocations: 8 kB / 468.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3629, allocations: 63.25 MB / 0.5193 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.5195, allocations: 110.4 MB / 0.6271 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.5198, allocations: 87.92 kB / 0.6272 GB, free: 8.852 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4887/1.009, allocations: 74.96 MB / 0.7004 GB, free: 103.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.995e-06/1.009, allocations: 2.688 kB / 0.7004 GB, free: 103.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002141/1.009, allocations: 62.72 kB / 0.7005 GB, free: 103.4 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01236/1.021, allocations: 3.636 MB / 0.704 GB, free: 101.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/1.021, allocations: 12.75 kB / 0.704 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002745/1.024, allocations: 0.6431 MB / 0.7047 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/1.034, allocations: 2.084 MB / 0.7067 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/1.045, allocations: 3.446 MB / 0.7101 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003497/1.045, allocations: 268 kB / 0.7103 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/1.047, allocations: 352.6 kB / 0.7107 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/1.071, allocations: 8.993 MB / 0.7194 GB, free: 97.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002871/1.071, allocations: 54.78 kB / 0.7195 GB, free: 97.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001316/1.072, allocations: 180.8 kB / 0.7197 GB, free: 96.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001284/1.074, allocations: 0.8818 MB / 0.7205 GB, free: 96.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/1.087, allocations: 7.271 MB / 0.7276 GB, free: 94.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04251/1.13, allocations: 42.95 MB / 0.7696 GB, free: 60.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006857/1.136, allocations: 3.307 MB / 0.7728 GB, free: 59.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007419/1.144, allocations: 4.429 MB / 0.7771 GB, free: 56.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.144, allocations: 50.91 kB / 0.7772 GB, free: 56.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 5.932e-06/1.144, allocations: 0 / 0.7772 GB, free: 56.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.02665/1.171, allocations: 11.62 MB / 0.7885 GB, free: 49.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/1.171, allocations: 166.9 kB / 0.7887 GB, free: 48.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005202/1.176, allocations: 3.321 MB / 0.7919 GB, free: 46.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003413/1.176, allocations: 41.7 kB / 0.792 GB, free: 46.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/1.178, allocations: 2.759 MB / 0.7947 GB, free: 43.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007011/1.179, allocations: 0.5295 MB / 0.7952 GB, free: 42.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/1.179, allocations: 104 kB / 0.7953 GB, free: 42.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002553/1.179, allocations: 0.5331 MB / 0.7958 GB, free: 42.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/1.182, allocations: 1.677 MB / 0.7974 GB, free: 40.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003821/1.185, allocations: 5.094 MB / 0.8024 GB, free: 33.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003531/1.189, allocations: 2.874 MB / 0.8052 GB, free: 30.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.063e-05/1.189, allocations: 36.28 kB / 0.8052 GB, free: 30.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01115/1.2, allocations: 6.665 MB / 0.8117 GB, free: 24.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.2, allocations: 56.09 kB / 0.8118 GB, free: 24.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/1.201, allocations: 131.9 kB / 0.8119 GB, free: 23.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006875/1.201, allocations: 332.7 kB / 0.8122 GB, free: 23.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004025/1.205, allocations: 1.287 MB / 0.8135 GB, free: 22.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/1.208, allocations: 2.34 MB / 0.8158 GB, free: 19.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004724/1.212, allocations: 291.5 kB / 0.8161 GB, free: 19.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.213, allocations: 332 kB / 0.8164 GB, free: 19.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 662 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004457/1.218, allocations: 1.787 MB / 0.8181 GB, free: 17.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008326/1.219, allocations: 312 kB / 0.8184 GB, free: 17.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/1.224, allocations: 2.363 MB / 0.8207 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.285e-05/1.224, allocations: 16 kB / 0.8207 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.224, allocations: 4 kB / 0.8208 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/1.224, allocations: 3.984 kB / 0.8208 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.24, allocations: 5.942 MB / 0.8266 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/1.24, allocations: 0 / 0.8266 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000892/1.241, allocations: 171.8 kB / 0.8267 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002047/1.243, allocations: 0.7185 MB / 0.8274 GB, free: 7.828 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/1.243, allocations: 19.98 kB / 0.8274 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005299/1.248, allocations: 4.555 MB / 0.8319 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.248, allocations: 4.031 kB / 0.8319 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007358/1.256, allocations: 4.451 MB / 0.8362 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/1.257, allocations: 380.8 kB / 0.8366 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/1.258, allocations: 20.06 kB / 0.8366 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/1.26, allocations: 75.84 kB / 0.8367 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/1.261, allocations: 68.52 kB / 0.8368 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.261, allocations: 39.05 kB / 0.8368 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006214/1.267, allocations: 2.319 MB / 0.8391 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.7e-07/1.267, allocations: 0 / 0.8391 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006826/1.274, allocations: 0.8281 MB / 0.8399 GB, free: 10.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009387/1.283, allocations: 5.37 MB / 0.8451 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007538/1.291, allocations: 4.006 MB / 0.849 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.291, allocations: 384 / 0.849 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/1.293, allocations: 1.106 MB / 0.8501 GB, free: 356 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/1.295, allocations: 362.3 kB / 0.8505 GB, free: 4 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3594/1.655, allocations: 99.59 MB / 0.9477 GB, free: 66.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004622/1.659, allocations: 2.865 MB / 0.9505 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004793/1.664, allocations: 1.66 MB / 0.9521 GB, free: 66.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002981/1.667, allocations: 1.53 MB / 0.9536 GB, free: 66.03 MB / 0.5261 GB Notification: Performance of SimCode: time 2.134e-06/1.667, allocations: 1.094 kB / 0.9536 GB, free: 66.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/1.795, allocations: 64.42 MB / 1.017 GB, free: 48.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/1.795, allocations: 213.5 kB / 1.017 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.426/6.221, allocations: 4 kB / 1.017 GB, free: 48.68 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat