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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 177.2 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3852/0.3852, allocations: 43.54 MB / 314.5 MB, free: 9.062 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007623/0.0007624, allocations: 16 kB / 384 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1768, allocations: 58.86 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2601/0.437, allocations: 29.71 MB / 472.6 MB, free: 33.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01881/0.4558, allocations: 7.709 MB / 480.3 MB, free: 28.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009921/0.4658, allocations: 147.4 kB / 480.4 MB, free: 28.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00597/0.4719, allocations: 1.427 MB / 481.8 MB, free: 28.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01744/0.4893, allocations: 4.359 MB / 486.2 MB, free: 26.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003124/0.4925, allocations: 0.4886 MB / 486.7 MB, free: 25.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004684/0.4972, allocations: 1.896 MB / 488.6 MB, free: 25.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004704/0.5019, allocations: 2.941 MB / 491.5 MB, free: 24.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.5036, allocations: 0.8694 MB / 492.4 MB, free: 23.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.5052, allocations: 1.136 MB / 493.5 MB, free: 23.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004265/0.5056, allocations: 113.8 kB / 493.6 MB, free: 23.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.5079, allocations: 0.7699 MB / 494.4 MB, free: 23.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002362/0.5103, allocations: 1.303 MB / 495.7 MB, free: 22.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.5117, allocations: 0.6978 MB / 496.4 MB, free: 22.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008528/0.5203, allocations: 4.448 MB / 0.4891 GB, free: 21.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5203, allocations: 0 / 0.4891 GB, free: 21.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.5203, allocations: 0 / 0.4891 GB, free: 21.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002684/0.5206, allocations: 0 / 0.4891 GB, free: 21.36 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01098/0.5316, allocations: 3.422 MB / 0.4925 GB, free: 19.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.5317, allocations: 10.12 kB / 0.4925 GB, free: 19.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002092/0.5338, allocations: 0.6087 MB / 0.4931 GB, free: 19.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008342/0.5421, allocations: 2.111 MB / 0.4951 GB, free: 18.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006029/0.5482, allocations: 2.146 MB / 0.4972 GB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.5484, allocations: 194.3 kB / 0.4974 GB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.5495, allocations: 255.1 kB / 0.4977 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/0.5659, allocations: 8.493 MB / 0.5059 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.566, allocations: 40.09 kB / 0.506 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003784/0.5664, allocations: 127.7 kB / 0.5061 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002904/0.5693, allocations: 1.697 MB / 0.5078 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.5832, allocations: 7.159 MB / 0.5148 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04329/0.6265, allocations: 34.24 MB / 0.5482 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/0.634, allocations: 3.287 MB / 0.5514 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007612/0.6416, allocations: 4.412 MB / 0.5557 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.6417, allocations: 51.06 kB / 0.5558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.378e-06/0.6417, allocations: 0 / 0.5558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02865/0.6704, allocations: 11.82 MB / 0.5673 GB, free: 14.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.6705, allocations: 170.8 kB / 0.5675 GB, free: 14.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005363/0.6759, allocations: 3.848 MB / 0.5712 GB, free: 10.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000278/0.6762, allocations: 45.7 kB / 0.5713 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.6781, allocations: 2.748 MB / 0.574 GB, free: 7.441 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005714/0.6787, allocations: 0.5288 MB / 0.5745 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.6789, allocations: 100 kB / 0.5746 GB, free: 6.809 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003717/0.6793, allocations: 0.5253 MB / 0.5751 GB, free: 6.277 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002573/0.6819, allocations: 1.681 MB / 0.5767 GB, free: 4.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004747/0.6866, allocations: 5.073 MB / 0.5817 GB, free: 13.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/0.691, allocations: 2.875 MB / 0.5845 GB, free: 10.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.44e-05/0.6911, allocations: 36 kB / 0.5845 GB, free: 10.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01261/0.7037, allocations: 6.649 MB / 0.591 GB, free: 4.219 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/0.7038, allocations: 60 kB / 0.5911 GB, free: 4.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/0.704, allocations: 120 kB / 0.5912 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006629/0.7047, allocations: 336.7 kB / 0.5915 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/0.7094, allocations: 1.24 MB / 0.5927 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003647/0.7131, allocations: 2.341 MB / 0.595 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005655/0.7188, allocations: 287.4 kB / 0.5953 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/0.7206, allocations: 338.4 kB / 0.5956 GB, free: 15.38 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 (664): * Single equations (assignments): 660 * 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.005889/0.7265, allocations: 1.787 MB / 0.5973 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/0.7276, allocations: 315.9 kB / 0.5976 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005691/0.7333, allocations: 2.359 MB / 0.5999 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/0.7334, allocations: 16 kB / 0.6 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.7334, allocations: 0 / 0.6 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.7335, allocations: 7.984 kB / 0.6 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.7465, allocations: 5.931 MB / 0.6058 GB, free: 4.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.7465, allocations: 0 / 0.6058 GB, free: 4.875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/0.7474, allocations: 179.7 kB / 0.6059 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.7496, allocations: 0.7147 MB / 0.6066 GB, free: 3.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.7497, allocations: 20 kB / 0.6066 GB, free: 3.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00655/0.7563, allocations: 4.576 MB / 0.6111 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.7563, allocations: 7.953 kB / 0.6111 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007662/0.764, allocations: 4.442 MB / 0.6155 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/0.7661, allocations: 0.5365 MB / 0.616 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005445/0.7666, allocations: 24 kB / 0.616 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.7678, allocations: 75.89 kB / 0.6161 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.768, allocations: 72.55 kB / 0.6162 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.7681, allocations: 35.95 kB / 0.6162 GB, free: 9.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004717/0.7728, allocations: 2.421 MB / 0.6185 GB, free: 7.574 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7729, allocations: 0 / 0.6185 GB, free: 7.574 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005674/0.7785, allocations: 0.8398 MB / 0.6194 GB, free: 6.734 MB / 494.1 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.007881/0.7864, allocations: 5.369 MB / 0.6246 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007619/0.7941, allocations: 3.987 MB / 0.6285 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.7942, allocations: 0 / 0.6285 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.7961, allocations: 1.103 MB / 0.6296 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.7988, allocations: 363.5 kB / 0.6299 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2873/1.086, allocations: 99.35 MB / 0.727 GB, free: 47.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0047/1.091, allocations: 2.855 MB / 0.7297 GB, free: 46.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00507/1.096, allocations: 1.661 MB / 0.7314 GB, free: 46.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002992/1.099, allocations: 1.537 MB / 0.7329 GB, free: 46.62 MB / 0.4981 GB Notification: Performance of SimCode: time 1.984e-06/1.099, allocations: 0 / 0.7329 GB, free: 46.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/1.209, allocations: 64.96 MB / 0.7963 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/1.209, allocations: 209.7 kB / 0.7965 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.82/5.029, allocations: 0 / 0.7965 GB, free: 8.824 MB / 0.4981 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) Environment - environmentSimulation: 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