Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001959/0.001959, allocations: 183.6 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.2 MB / 218.9 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 91.84 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4349/0.4349, allocations: 43.47 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.349e-05, allocations: 4 kB / 425.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1366, allocations: 58.85 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/0.5419, allocations: 107.5 MB / 0.5779 GB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.5422, allocations: 79.34 kB / 0.578 GB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1891/0.7313, allocations: 73.32 MB / 0.6496 GB, free: 3.523 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.7313, allocations: 0 / 0.6496 GB, free: 3.523 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002144/0.7316, allocations: 72 kB / 0.6497 GB, free: 3.453 MB / 474.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.01156/0.7431, allocations: 3.399 MB / 0.653 GB, free: 15.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.7432, allocations: 8.031 kB / 0.653 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002334/0.7456, allocations: 0.6471 MB / 0.6536 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009964/0.7556, allocations: 2.093 MB / 0.6557 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.7663, allocations: 4.088 MB / 0.6597 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.7666, allocations: 264.3 kB / 0.6599 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.7677, allocations: 347.8 kB / 0.6603 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3256/1.093, allocations: 8.934 MB / 0.669 GB, free: 92.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002784/1.094, allocations: 52.83 kB / 0.669 GB, free: 92.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001393/1.095, allocations: 172.8 kB / 0.6692 GB, free: 92.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001932/1.097, allocations: 0.8877 MB / 0.6701 GB, free: 92.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01913/1.116, allocations: 7.17 MB / 0.6771 GB, free: 92.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04402/1.16, allocations: 42.97 MB / 0.719 GB, free: 65.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007205/1.167, allocations: 3.281 MB / 0.7222 GB, free: 64.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/1.169, allocations: 1.446 MB / 0.7236 GB, free: 63.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007406/1.177, allocations: 4.438 MB / 0.728 GB, free: 60.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/1.177, allocations: 51.34 kB / 0.728 GB, free: 60.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 5.34e-06/1.177, allocations: 0 / 0.728 GB, free: 60.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.02744/1.204, allocations: 9.651 MB / 0.7374 GB, free: 56.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/1.205, allocations: 171.6 kB / 0.7376 GB, free: 56.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00746/1.212, allocations: 3.303 MB / 0.7408 GB, free: 55.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003949/1.212, allocations: 42.14 kB / 0.7409 GB, free: 55.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002648/1.215, allocations: 2.765 MB / 0.7436 GB, free: 53.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009694/1.216, allocations: 0.519 MB / 0.7441 GB, free: 53.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003326/1.216, allocations: 105.1 kB / 0.7442 GB, free: 53.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003145/1.217, allocations: 0.5305 MB / 0.7447 GB, free: 52.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002709/1.219, allocations: 1.646 MB / 0.7463 GB, free: 52.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003733/1.223, allocations: 5.058 MB / 0.7512 GB, free: 46.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/1.227, allocations: 2.87 MB / 0.7541 GB, free: 45.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.329e-05/1.227, allocations: 35.25 kB / 0.7541 GB, free: 45.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01144/1.239, allocations: 6.618 MB / 0.7605 GB, free: 43.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-05/1.239, allocations: 54.91 kB / 0.7606 GB, free: 43.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/1.239, allocations: 122.4 kB / 0.7607 GB, free: 43.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006757/1.24, allocations: 332.3 kB / 0.761 GB, free: 43.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004414/1.244, allocations: 1.282 MB / 0.7623 GB, free: 43.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/1.246, allocations: 2.307 MB / 0.7645 GB, free: 41.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004979/1.251, allocations: 283.6 kB / 0.7648 GB, free: 41.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.253, allocations: 343.1 kB / 0.7651 GB, free: 41.38 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 () * 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.0008798/1.253, allocations: 0.5144 MB / 0.7656 GB, free: 40.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009572/1.254, allocations: 312.6 kB / 0.7659 GB, free: 40.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004564/1.259, allocations: 2.356 MB / 0.7682 GB, free: 39.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.539e-05/1.259, allocations: 15 kB / 0.7683 GB, free: 39.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.259, allocations: 3.781 kB / 0.7683 GB, free: 39.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/1.259, allocations: 7.406 kB / 0.7683 GB, free: 39.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/1.272, allocations: 5.937 MB / 0.7741 GB, free: 37.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/1.272, allocations: 0 / 0.7741 GB, free: 37.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008498/1.273, allocations: 175.5 kB / 0.7742 GB, free: 37.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/1.275, allocations: 0.7083 MB / 0.7749 GB, free: 37.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/1.275, allocations: 27.12 kB / 0.7749 GB, free: 37.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005124/1.28, allocations: 4.451 MB / 0.7793 GB, free: 35.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.28, allocations: 0 / 0.7793 GB, free: 35.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007142/1.287, allocations: 4.423 MB / 0.7836 GB, free: 33.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/1.289, allocations: 0.5334 MB / 0.7841 GB, free: 32.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.291, allocations: 23.09 kB / 0.7842 GB, free: 32.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.293, allocations: 82.95 kB / 0.7842 GB, free: 32.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/1.293, allocations: 61.62 kB / 0.7843 GB, free: 32.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.293, allocations: 42.34 kB / 0.7843 GB, free: 32.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00508/1.298, allocations: 2.288 MB / 0.7866 GB, free: 32.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.298, allocations: 0 / 0.7866 GB, free: 32.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006653/1.305, allocations: 0.8285 MB / 0.7874 GB, free: 32.03 MB / 490.7 MB 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 () * 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.008279/1.313, allocations: 5.354 MB / 0.7926 GB, free: 29.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007309/1.32, allocations: 3.957 MB / 0.7965 GB, free: 27.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.321, allocations: 0 / 0.7965 GB, free: 27.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/1.322, allocations: 1.093 MB / 0.7975 GB, free: 27.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/1.325, allocations: 367.3 kB / 0.7979 GB, free: 27.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/1.349, allocations: 7.037 MB / 0.8048 GB, free: 21.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005176/1.355, allocations: 2.867 MB / 0.8076 GB, free: 19.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005541/1.36, allocations: 1.669 MB / 0.8092 GB, free: 18.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003354/1.364, allocations: 1.533 MB / 0.8107 GB, free: 16.76 MB / 490.7 MB Notification: Performance of SimCode: time 2.084e-06/1.364, allocations: 3.938 kB / 0.8107 GB, free: 16.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4525/1.816, allocations: 65.35 MB / 0.8745 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/1.816, allocations: 179.5 kB / 0.8747 GB, free: 97.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.511/6.327, allocations: 0 / 0.8747 GB, free: 97.35 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat