Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",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.002312/0.002312, allocations: 186.7 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.17/2.17, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001129/0.001129, allocations: 94.86 kB / 270.9 MB, free: 13.29 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.3006/0.3006, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005159/0.0005162, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1311, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.5009/0.632, allocations: 43.1 MB / 0.5209 GB, free: 9.516 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02952/0.6616, allocations: 10.52 MB / 0.5312 GB, free: 9.324 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01046/0.6721, allocations: 211.8 kB / 0.5314 GB, free: 9.324 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008794/0.6809, allocations: 2.125 MB / 0.5335 GB, free: 8.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02687/0.7078, allocations: 6.198 MB / 0.5395 GB, free: 8.078 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004265/0.7121, allocations: 0.5784 MB / 0.5401 GB, free: 7.918 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006655/0.7189, allocations: 2.162 MB / 0.5422 GB, free: 7.465 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009598/0.7285, allocations: 4.633 MB / 0.5467 GB, free: 6.016 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.7316, allocations: 1.026 MB / 0.5477 GB, free: 5.664 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.7348, allocations: 1.334 MB / 0.549 GB, free: 5.164 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.7361, allocations: 147.2 kB / 0.5492 GB, free: 5.164 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.7398, allocations: 0.886 MB / 0.55 GB, free: 4.941 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003033/0.7428, allocations: 1.601 MB / 0.5516 GB, free: 4.449 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.7453, allocations: 0.8651 MB / 0.5524 GB, free: 4.242 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009992/0.7553, allocations: 5.654 MB / 0.558 GB, free: 1.168 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7554, allocations: 0 / 0.558 GB, free: 1.168 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.7554, allocations: 0 / 0.558 GB, free: 1.168 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003215/0.7557, allocations: 4 kB / 0.558 GB, free: 1.164 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01364/0.7694, allocations: 4.041 MB / 0.5619 GB, free: 14.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.7694, allocations: 7.219 kB / 0.5619 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00276/0.7722, allocations: 0.7576 MB / 0.5626 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.7872, allocations: 2.287 MB / 0.5649 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007946/0.7952, allocations: 2.469 MB / 0.5673 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.7956, allocations: 250.1 kB / 0.5675 GB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002494/0.7981, allocations: 424.4 kB / 0.5679 GB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03181/0.8299, allocations: 10.5 MB / 0.5782 GB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/0.8302, allocations: 39.62 kB / 0.5782 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009688/0.8312, allocations: 167.5 kB / 0.5784 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005422/0.8366, allocations: 1.944 MB / 0.5803 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03074/0.8674, allocations: 8.737 MB / 0.5888 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08234/0.9498, allocations: 40.56 MB / 0.6284 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01745/0.9673, allocations: 3.832 MB / 0.6322 GB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02161/0.989, allocations: 8.316 MB / 0.6403 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.9891, allocations: 51.5 kB / 0.6403 GB, free: 14.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=153): time 8.235e-06/0.9891, allocations: 3.984 kB / 0.6403 GB, free: 14.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.05645/1.046, allocations: 13.4 MB / 0.6534 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002003/1.048, allocations: 1.639 MB / 0.655 GB, free: 14.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/1.058, allocations: 4.096 MB / 0.659 GB, free: 10.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005567/1.059, allocations: 49.7 kB / 0.6591 GB, free: 10.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003725/1.063, allocations: 3.137 MB / 0.6621 GB, free: 7.621 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001294/1.064, allocations: 0.6496 MB / 0.6628 GB, free: 6.977 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006096/1.065, allocations: 120 kB / 0.6629 GB, free: 6.859 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005216/1.065, allocations: 0.5591 MB / 0.6634 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00605/1.071, allocations: 2.202 MB / 0.6656 GB, free: 4.082 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009941/1.081, allocations: 5.916 MB / 0.6714 GB, free: 12.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009341/1.091, allocations: 3.518 MB / 0.6748 GB, free: 8.777 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/1.091, allocations: 44 kB / 0.6748 GB, free: 8.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.04189/1.133, allocations: 9.491 MB / 0.6841 GB, free: 15.22 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/1.133, allocations: 64.94 kB / 0.6842 GB, free: 15.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0224/1.155, allocations: 3.9 MB / 0.688 GB, free: 11.25 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02072/1.176, allocations: 2.246 MB / 0.6902 GB, free: 8.984 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009028/1.185, allocations: 1.4 MB / 0.6915 GB, free: 7.582 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01892/1.204, allocations: 7.274 MB / 0.6986 GB, free: 36 kB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007662/1.212, allocations: 433.3 kB / 0.6991 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/1.213, allocations: 372 kB / 0.6994 GB, free: 15.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (750): * Single equations (assignments): 741 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.00686/1.22, allocations: 2.129 MB / 0.7015 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.221, allocations: 335.6 kB / 0.7018 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/1.233, allocations: 3.183 MB / 0.7049 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009771/1.243, allocations: 2.683 MB / 0.7075 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/1.243, allocations: 4 kB / 0.7075 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.767e-05/1.243, allocations: 3.984 kB / 0.7075 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3687/1.612, allocations: 9.174 MB / 0.7165 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.033e-05/1.612, allocations: 1.031 kB / 0.7165 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0028/1.615, allocations: 267.3 kB / 0.7168 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006164/1.621, allocations: 1.037 MB / 0.7178 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004886/1.621, allocations: 40.14 kB / 0.7178 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009963/1.631, allocations: 5.097 MB / 0.7228 GB, free: 175.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001374/1.633, allocations: 1.498 MB / 0.7242 GB, free: 174 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/1.65, allocations: 5.714 MB / 0.7298 GB, free: 172 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.651, allocations: 419.6 kB / 0.7302 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.653, allocations: 35.3 kB / 0.7303 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003484/1.656, allocations: 148.7 kB / 0.7304 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007351/1.657, allocations: 91.92 kB / 0.7305 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002194/1.657, allocations: 49.48 kB / 0.7305 GB, free: 171.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006868/1.664, allocations: 2.556 MB / 0.733 GB, free: 171 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/1.664, allocations: 0.625 kB / 0.733 GB, free: 171 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007931/1.672, allocations: 1.12 MB / 0.7341 GB, free: 170.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.01615/1.688, allocations: 6.714 MB / 0.7407 GB, free: 167.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01708/1.705, allocations: 5.832 MB / 0.7464 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/1.705, allocations: 0 / 0.7464 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01066/1.716, allocations: 2.245 MB / 0.7486 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005354/1.721, allocations: 430.2 kB / 0.749 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1144/1.836, allocations: 127.8 MB / 0.8738 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006717/1.843, allocations: 3.39 MB / 0.8771 GB, free: 33.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00452/1.847, allocations: 1.944 MB / 0.879 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.203e-06/1.847, allocations: 0 / 0.879 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.04/6.887, allocations: 154.4 MB / 1.03 GB, free: 78.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat