Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",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.00242/0.002424, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.244/2.244, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00171/0.00171, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2975/0.2975, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006343/0.0006345, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1419, allocations: 58.86 MB / 490.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.0481/0.19, allocations: 29.17 MB / 0.5073 GB, free: 11.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02296/0.213, allocations: 7.524 MB / 0.5147 GB, free: 4.434 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006361/0.2195, allocations: 139.6 kB / 0.5148 GB, free: 4.297 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00565/0.2252, allocations: 1.482 MB / 0.5162 GB, free: 2.809 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3586/0.5838, allocations: 4.416 MB / 0.5206 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.5876, allocations: 412.4 kB / 0.5209 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008891/0.5965, allocations: 2.128 MB / 0.523 GB, free: 11.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.6082, allocations: 3.346 MB / 0.5263 GB, free: 11.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.6121, allocations: 0.9429 MB / 0.5272 GB, free: 11.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004766/0.6169, allocations: 1.292 MB / 0.5285 GB, free: 11.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.6184, allocations: 146.5 kB / 0.5286 GB, free: 11.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004631/0.6231, allocations: 0.8441 MB / 0.5294 GB, free: 11.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004526/0.6277, allocations: 1.527 MB / 0.5309 GB, free: 11.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003206/0.6309, allocations: 0.8452 MB / 0.5318 GB, free: 11.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.6454, allocations: 5.593 MB / 0.5372 GB, free: 9.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6455, allocations: 0 / 0.5372 GB, free: 9.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.6455, allocations: 0 / 0.5372 GB, free: 9.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003159/0.6458, allocations: 1 kB / 0.5372 GB, free: 9.66 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02317/0.669, allocations: 4.145 MB / 0.5413 GB, free: 7.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/0.6691, allocations: 8.469 kB / 0.5413 GB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004137/0.6733, allocations: 0.7909 MB / 0.542 GB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03608/0.7094, allocations: 3.804 MB / 0.5458 GB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007766/0.7172, allocations: 2.337 MB / 0.548 GB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.7176, allocations: 227.3 kB / 0.5483 GB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002294/0.7199, allocations: 300.4 kB / 0.5485 GB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03138/0.7514, allocations: 11.49 MB / 0.5598 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/0.7516, allocations: 32.14 kB / 0.5598 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001454/0.7531, allocations: 138.2 kB / 0.5599 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007904/0.761, allocations: 2.632 MB / 0.5625 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03602/0.7971, allocations: 10.73 MB / 0.573 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09241/0.8895, allocations: 36.52 MB / 0.6087 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/0.9046, allocations: 4.402 MB / 0.613 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002099/0.9067, allocations: 1.318 MB / 0.6142 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.824e-05/0.9068, allocations: 52.56 kB / 0.6143 GB, free: 10.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.564e-06/0.9068, allocations: 0 / 0.6143 GB, free: 10.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.08116/0.988, allocations: 14.51 MB / 0.6285 GB, free: 11.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.9881, allocations: 78.72 kB / 0.6285 GB, free: 11.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007652/0.9958, allocations: 2.94 MB / 0.6314 GB, free: 8.629 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006784/0.9965, allocations: 57.7 kB / 0.6315 GB, free: 8.566 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003279/0.9998, allocations: 2.936 MB / 0.6343 GB, free: 5.645 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001957/1.002, allocations: 0.9691 MB / 0.6353 GB, free: 4.684 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007757/1.003, allocations: 115.4 kB / 0.6354 GB, free: 4.574 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006551/1.003, allocations: 0.5628 MB / 0.6359 GB, free: 4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007282/1.011, allocations: 2.338 MB / 0.6382 GB, free: 1.656 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/1.022, allocations: 5.486 MB / 0.6436 GB, free: 10.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.032, allocations: 3.6 MB / 0.6471 GB, free: 7.039 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/1.032, allocations: 32 kB / 0.6471 GB, free: 7.008 MB / 458.7 MB Notification: Performance of matching and sorting (n=776) (initialization): time 0.02985/1.062, allocations: 8.491 MB / 0.6554 GB, free: 14.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/1.062, allocations: 55.44 kB / 0.6555 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002058/1.062, allocations: 113.6 kB / 0.6556 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007015/1.069, allocations: 1.059 MB / 0.6566 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00897/1.078, allocations: 1.333 MB / 0.6579 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004863/1.083, allocations: 2.506 MB / 0.6604 GB, free: 9.289 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006072/1.089, allocations: 319.8 kB / 0.6607 GB, free: 8.977 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/1.091, allocations: 340 kB / 0.661 GB, free: 8.645 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (723): * Single equations (assignments): 714 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007228/1.098, allocations: 2.261 MB / 0.6632 GB, free: 6.371 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000798/1.099, allocations: 292.2 kB / 0.6635 GB, free: 6.082 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0177/1.116, allocations: 5.074 MB / 0.6684 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001273/1.117, allocations: 51.58 kB / 0.6685 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.117, allocations: 4 kB / 0.6685 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-05/1.117, allocations: 7.969 kB / 0.6685 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03853/1.155, allocations: 11.57 MB / 0.6798 GB, free: 5.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.599e-05/1.155, allocations: 9.969 kB / 0.6798 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004091/1.159, allocations: 431.3 kB / 0.6802 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006666/1.166, allocations: 0.9035 MB / 0.6811 GB, free: 3.848 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008033/1.167, allocations: 63.48 kB / 0.6812 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/1.171, allocations: 2.303 MB / 0.6834 GB, free: 1.352 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.845e-05/1.171, allocations: 15.89 kB / 0.6834 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02435/1.196, allocations: 8.161 MB / 0.6914 GB, free: 8.715 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.197, allocations: 341.3 kB / 0.6917 GB, free: 8.359 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/1.198, allocations: 51.98 kB / 0.6918 GB, free: 8.309 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.201, allocations: 143.3 kB / 0.6919 GB, free: 8.172 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007948/1.202, allocations: 153.7 kB / 0.692 GB, free: 8.02 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003171/1.202, allocations: 79.94 kB / 0.6921 GB, free: 7.941 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005073/1.207, allocations: 1.809 MB / 0.6939 GB, free: 6.129 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.142e-06/1.208, allocations: 3.938 kB / 0.6939 GB, free: 6.125 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007728/1.215, allocations: 1.022 MB / 0.6949 GB, free: 5.105 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * 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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02714/1.242, allocations: 10.76 MB / 0.7054 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02024/1.263, allocations: 6.157 MB / 0.7114 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.263, allocations: 0 / 0.7114 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009327/1.272, allocations: 2.597 MB / 0.714 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/1.276, allocations: 399.2 kB / 0.7143 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4296/1.706, allocations: 109.2 MB / 0.8209 GB, free: 95.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008167/1.714, allocations: 3.599 MB / 0.8245 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005567/1.72, allocations: 2.028 MB / 0.8264 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.353e-06/1.72, allocations: 0 / 0.8264 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.731/6.45, allocations: 140.3 MB / 0.9634 GB, free: 154.9 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat