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.001083/0.001083, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009956/0.0009957, allocations: 109.9 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 45.15 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.167e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1483, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5049/0.6533, allocations: 109.7 MB / 0.6116 GB, free: 8.824 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.6535, allocations: 78.45 kB / 0.6117 GB, free: 8.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2418/0.8954, allocations: 73.63 MB / 0.6836 GB, free: 7.445 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.8954, allocations: 0 / 0.6836 GB, free: 7.445 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003513/0.8958, allocations: 71.98 kB / 0.6836 GB, free: 7.375 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.01859/0.9144, allocations: 3.413 MB / 0.687 GB, free: 3.902 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.751e-05/0.9146, allocations: 12.03 kB / 0.687 GB, free: 3.891 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.9298, allocations: 2.093 MB / 0.689 GB, free: 1.789 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/0.9439, allocations: 3.409 MB / 0.6924 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/0.9444, allocations: 116 kB / 0.6925 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002784/0.9472, allocations: 207.9 kB / 0.6927 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01621/0.9634, allocations: 5.116 MB / 0.6977 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02554/0.989, allocations: 8.048 MB / 0.7055 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000279/0.9894, allocations: 55.47 kB / 0.7056 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/0.9907, allocations: 28 kB / 0.7056 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00197/0.9926, allocations: 0.8879 MB / 0.7065 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06729/1.06, allocations: 41.26 MB / 0.7468 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004998/1.065, allocations: 2.517 MB / 0.7492 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/1.068, allocations: 1.399 MB / 0.7506 GB, free: 236 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3621/1.43, allocations: 0.6455 MB / 0.7512 GB, free: 145 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.73e-05/1.43, allocations: 46.86 kB / 0.7513 GB, free: 145 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=129): time 5.089e-06/1.43, allocations: 0 / 0.7513 GB, free: 145 MB / 0.5261 GB Notification: Performance of matching and sorting (n=138): time 0.02446/1.455, allocations: 12.22 MB / 0.7632 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/1.455, allocations: 194.6 kB / 0.7634 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004799/1.46, allocations: 2.801 MB / 0.7661 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002852/1.46, allocations: 27.08 kB / 0.7661 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001883/1.462, allocations: 2.798 MB / 0.7689 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006663/1.462, allocations: 0.5371 MB / 0.7694 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/1.463, allocations: 0 / 0.7694 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003127/1.463, allocations: 0.5425 MB / 0.7699 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/1.465, allocations: 1.607 MB / 0.7715 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003938/1.469, allocations: 5.142 MB / 0.7765 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/1.473, allocations: 2.858 MB / 0.7793 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.199e-05/1.473, allocations: 39.06 kB / 0.7793 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.008735/1.482, allocations: 6.07 MB / 0.7853 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/1.482, allocations: 60.98 kB / 0.7853 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/1.482, allocations: 127.3 kB / 0.7855 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/1.482, allocations: 345.7 kB / 0.7858 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/1.486, allocations: 1.338 MB / 0.7871 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/1.488, allocations: 2.208 MB / 0.7892 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/1.491, allocations: 195.6 kB / 0.7894 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006608/1.492, allocations: 346.4 kB / 0.7898 GB, free: 133.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * 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 (697): * Single equations (assignments): 693 * 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.0006974/1.493, allocations: 431.8 kB / 0.7902 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004532/1.497, allocations: 2.667 MB / 0.7928 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006543/1.498, allocations: 285.4 kB / 0.793 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/1.502, allocations: 2.304 MB / 0.7953 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/1.502, allocations: 20.36 kB / 0.7953 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.502, allocations: 3.375 kB / 0.7953 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.502, allocations: 17.5 kB / 0.7953 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/1.513, allocations: 5.718 MB / 0.8009 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.513, allocations: 3.438 kB / 0.8009 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/1.514, allocations: 181.2 kB / 0.8011 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/1.516, allocations: 0.7119 MB / 0.8018 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.681e-05/1.516, allocations: 3.594 kB / 0.8018 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/1.52, allocations: 4.293 MB / 0.806 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.52, allocations: 11.03 kB / 0.806 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00584/1.526, allocations: 4.466 MB / 0.8104 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009415/1.527, allocations: 333.5 kB / 0.8107 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/1.527, allocations: 3.219 kB / 0.8107 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.528, allocations: 56.22 kB / 0.8107 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/1.529, allocations: 76.83 kB / 0.8108 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.948e-05/1.529, allocations: 35.8 kB / 0.8108 GB, free: 125 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002501/1.531, allocations: 1.858 MB / 0.8127 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.531, allocations: 0 / 0.8127 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004712/1.536, allocations: 0.7138 MB / 0.8134 GB, free: 124.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (104): * Single equations (assignments): 100 * 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.005993/1.542, allocations: 5.444 MB / 0.8187 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005421/1.547, allocations: 3.821 MB / 0.8224 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.547, allocations: 0 / 0.8224 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/1.548, allocations: 1.1 MB / 0.8235 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/1.55, allocations: 296.4 kB / 0.8238 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.564, allocations: 6.925 MB / 0.8305 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002272/1.566, allocations: 2.86 MB / 0.8333 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003933/1.57, allocations: 1.739 MB / 0.835 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/1.572, allocations: 1.517 MB / 0.8365 GB, free: 110 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/1.572, allocations: 0 / 0.8365 GB, free: 110 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09851/1.671, allocations: 60.22 MB / 0.8953 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/1.671, allocations: 148.8 kB / 0.8954 GB, free: 57.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.795/5.466, allocations: 3.938 kB / 0.8954 GB, free: 57.21 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