Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009109/0.0009105, allocations: 98.5 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3662/0.3662, allocations: 44.22 MB / 387.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 8 kB / 460 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3746, allocations: 61.9 MB / 0.5096 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.5232, allocations: 109.5 MB / 0.6166 GB, free: 1.539 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.5236, allocations: 79.92 kB / 0.6167 GB, free: 1.465 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4896/1.013, allocations: 74.19 MB / 0.6891 GB, free: 97.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.013, allocations: 0 / 0.6891 GB, free: 97.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001881/1.013, allocations: 66.19 kB / 0.6892 GB, free: 97.52 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.01233/1.026, allocations: 3.609 MB / 0.6927 GB, free: 95.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.026, allocations: 12.34 kB / 0.6927 GB, free: 95.95 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002977/1.029, allocations: 0.6504 MB / 0.6934 GB, free: 95.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/1.039, allocations: 2.084 MB / 0.6954 GB, free: 95.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/1.051, allocations: 3.965 MB / 0.6993 GB, free: 95.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/1.052, allocations: 262.2 kB / 0.6995 GB, free: 95.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/1.054, allocations: 352.9 kB / 0.6999 GB, free: 95.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/1.075, allocations: 8.988 MB / 0.7086 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005129/1.076, allocations: 58.92 kB / 0.7087 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002275/1.078, allocations: 173.1 kB / 0.7089 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002023/1.08, allocations: 0.8862 MB / 0.7097 GB, free: 92.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02042/1.1, allocations: 7.274 MB / 0.7168 GB, free: 91.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05186/1.152, allocations: 42.94 MB / 0.7588 GB, free: 57.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006984/1.159, allocations: 3.304 MB / 0.762 GB, free: 56.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008676/1.168, allocations: 4.425 MB / 0.7663 GB, free: 53.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/1.168, allocations: 46.72 kB / 0.7664 GB, free: 53.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 5.29e-06/1.168, allocations: 0 / 0.7664 GB, free: 53.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.02845/1.197, allocations: 11.62 MB / 0.7777 GB, free: 48.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.197, allocations: 165.1 kB / 0.7779 GB, free: 48.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006802/1.204, allocations: 3.329 MB / 0.7811 GB, free: 47.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000402/1.204, allocations: 44.92 kB / 0.7812 GB, free: 46.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002282/1.206, allocations: 2.754 MB / 0.7839 GB, free: 44.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008187/1.207, allocations: 0.5184 MB / 0.7844 GB, free: 44.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006243/1.208, allocations: 108.5 kB / 0.7845 GB, free: 44.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004964/1.208, allocations: 0.5248 MB / 0.785 GB, free: 44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/1.211, allocations: 1.684 MB / 0.7866 GB, free: 43.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004443/1.216, allocations: 5.095 MB / 0.7916 GB, free: 38.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/1.22, allocations: 2.878 MB / 0.7944 GB, free: 36.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/1.22, allocations: 33.69 kB / 0.7944 GB, free: 36.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01328/1.233, allocations: 6.668 MB / 0.8009 GB, free: 32.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/1.233, allocations: 58.34 kB / 0.801 GB, free: 32.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002467/1.234, allocations: 124 kB / 0.8011 GB, free: 32.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007438/1.234, allocations: 332.9 kB / 0.8014 GB, free: 31.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004519/1.239, allocations: 1.285 MB / 0.8027 GB, free: 30.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/1.241, allocations: 2.343 MB / 0.805 GB, free: 28.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/1.246, allocations: 287.2 kB / 0.8053 GB, free: 28.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/1.247, allocations: 335.1 kB / 0.8056 GB, free: 27.78 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.004332/1.251, allocations: 1.787 MB / 0.8073 GB, free: 26.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007786/1.252, allocations: 315.9 kB / 0.8076 GB, free: 25.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005235/1.257, allocations: 2.362 MB / 0.8099 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.482e-05/1.258, allocations: 19.94 kB / 0.8099 GB, free: 24.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.258, allocations: 7.062 kB / 0.81 GB, free: 24.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/1.258, allocations: 3.844 kB / 0.81 GB, free: 24.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/1.273, allocations: 5.942 MB / 0.8158 GB, free: 19.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-05/1.273, allocations: 4 kB / 0.8158 GB, free: 19.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008947/1.274, allocations: 173.7 kB / 0.8159 GB, free: 19.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002046/1.276, allocations: 0.7125 MB / 0.8166 GB, free: 18.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/1.276, allocations: 23.94 kB / 0.8167 GB, free: 18.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005098/1.281, allocations: 4.556 MB / 0.8211 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.281, allocations: 0 / 0.8211 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006464/1.288, allocations: 4.458 MB / 0.8255 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.289, allocations: 364.5 kB / 0.8258 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008403/1.29, allocations: 24 kB / 0.8258 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.291, allocations: 72.66 kB / 0.8259 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/1.292, allocations: 66.06 kB / 0.826 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/1.292, allocations: 39.69 kB / 0.826 GB, free: 10.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004683/1.296, allocations: 2.315 MB / 0.8283 GB, free: 8.328 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.296, allocations: 0 / 0.8283 GB, free: 8.328 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006406/1.303, allocations: 0.8281 MB / 0.8291 GB, free: 7.5 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 () * 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.007813/1.311, allocations: 5.38 MB / 0.8343 GB, free: 2.344 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006744/1.317, allocations: 3.999 MB / 0.8382 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.318, allocations: 1.375 kB / 0.8382 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/1.319, allocations: 1.092 MB / 0.8393 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.322, allocations: 373.1 kB / 0.8396 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3303/1.653, allocations: 99.6 MB / 0.9369 GB, free: 74.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003887/1.657, allocations: 2.86 MB / 0.9397 GB, free: 73.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004468/1.661, allocations: 1.659 MB / 0.9413 GB, free: 73.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002858/1.664, allocations: 1.527 MB / 0.9428 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/1.664, allocations: 0 / 0.9428 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/1.802, allocations: 64.45 MB / 1.006 GB, free: 63.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/1.802, allocations: 209.3 kB / 1.006 GB, free: 62.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.397/6.199, allocations: 0 / 1.006 GB, free: 62.93 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat