Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.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.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force2",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.002048/0.002048, allocations: 180.5 kB / 8.365 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001072, allocations: 86.2 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2889/0.2889, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.906e-05/1.905e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4438, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.6416, allocations: 110.9 MB / 0.5743 GB, free: 4.293 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.642, allocations: 71.97 kB / 0.5743 GB, free: 4.223 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.25/1.892, allocations: 232.3 MB / 0.8012 GB, free: 5.445 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.595e-06/1.892, allocations: 0 / 0.8012 GB, free: 5.445 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0008859/1.892, allocations: 256 kB / 0.8015 GB, free: 5.195 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.05409/1.947, allocations: 12.24 MB / 0.8134 GB, free: 8.848 MB / 491.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.947, allocations: 8.031 kB / 0.8134 GB, free: 8.84 MB / 491.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8512/2.798, allocations: 12.8 MB / 0.8259 GB, free: 44.58 MB / 491.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05233/2.85, allocations: 13.23 MB / 0.8388 GB, free: 44.01 MB / 491.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/2.851, allocations: 414.4 kB / 0.8392 GB, free: 44.01 MB / 491.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007034/2.858, allocations: 0.7391 MB / 0.84 GB, free: 44 MB / 491.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04684/2.905, allocations: 17.45 MB / 0.857 GB, free: 43.93 MB / 491.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07267/2.978, allocations: 25.8 MB / 0.8822 GB, free: 38.01 MB / 491.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001048/2.979, allocations: 148 kB / 0.8823 GB, free: 38 MB / 491.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006133/2.985, allocations: 68.06 kB / 0.8824 GB, free: 38 MB / 491.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006672/2.992, allocations: 2.863 MB / 0.8852 GB, free: 37.96 MB / 491.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2212/3.213, allocations: 121.1 MB / 1.003 GB, free: 13.67 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02353/3.237, allocations: 10.93 MB / 1.014 GB, free: 3.594 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4326/3.67, allocations: 8.211 MB / 1.022 GB, free: 102.7 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002415/3.672, allocations: 1.098 MB / 1.023 GB, free: 101.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/3.672, allocations: 97.02 kB / 1.023 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=552): time 1.084e-05/3.672, allocations: 3.75 kB / 1.023 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=640): time 0.2315/3.904, allocations: 62.81 MB / 1.085 GB, free: 89.85 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/3.904, allocations: 379.9 kB / 1.085 GB, free: 89.47 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02147/3.925, allocations: 7.936 MB / 1.093 GB, free: 88.82 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.001948/3.927, allocations: 29.33 kB / 1.093 GB, free: 88.79 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.007121/3.935, allocations: 8.241 MB / 1.101 GB, free: 84.09 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.004176/3.939, allocations: 2.282 MB / 1.103 GB, free: 82.7 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003111/3.942, allocations: 0 / 1.103 GB, free: 82.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.001702/3.944, allocations: 0.9829 MB / 1.104 GB, free: 82.36 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01646/3.96, allocations: 6.427 MB / 1.11 GB, free: 82.32 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02277/3.983, allocations: 14.92 MB / 1.125 GB, free: 68.62 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02169/4.005, allocations: 9.674 MB / 1.134 GB, free: 65.53 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004063/4.005, allocations: 84.88 kB / 1.134 GB, free: 65.53 MB / 0.5421 GB Notification: Performance of matching and sorting (n=2056) (initialization): time 0.06476/4.07, allocations: 22.32 MB / 1.156 GB, free: 52.89 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.000237/4.07, allocations: 132 kB / 1.156 GB, free: 52.76 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004987/4.071, allocations: 300 kB / 1.157 GB, free: 52.47 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/4.085, allocations: 3.309 MB / 1.16 GB, free: 50 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0258/4.11, allocations: 3.851 MB / 1.164 GB, free: 46.76 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04206/4.153, allocations: 21.25 MB / 1.184 GB, free: 27.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01932/4.172, allocations: 0.6423 MB / 1.185 GB, free: 27.33 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00458/4.177, allocations: 0.9032 MB / 1.186 GB, free: 26.46 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1368 * Number of states: 0 () * Number of discrete variables: 120 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1938): * Single equations (assignments): 1931 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006952/4.184, allocations: 0.8977 MB / 1.187 GB, free: 25.57 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04129/4.225, allocations: 13.2 MB / 1.2 GB, free: 14.57 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004162/4.229, allocations: 0.9024 MB / 1.201 GB, free: 13.66 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04372/4.273, allocations: 13.83 MB / 1.214 GB, free: 2.547 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001466/4.273, allocations: 64 kB / 1.214 GB, free: 2.484 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.011e-05/4.273, allocations: 20 kB / 1.214 GB, free: 2.465 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001772/4.273, allocations: 33.11 kB / 1.214 GB, free: 2.461 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.524/4.797, allocations: 28.88 MB / 1.242 GB, free: 97.79 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-05/4.798, allocations: 6.719 kB / 1.242 GB, free: 97.79 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01277/4.81, allocations: 1.26 MB / 1.244 GB, free: 97.79 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/4.823, allocations: 2.793 MB / 1.246 GB, free: 97.75 MB / 0.5578 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001979/4.825, allocations: 22.8 kB / 1.246 GB, free: 97.75 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03995/4.865, allocations: 19.66 MB / 1.266 GB, free: 92.65 MB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.558e-05/4.865, allocations: 16.45 kB / 1.266 GB, free: 92.65 MB / 0.5578 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05866/4.924, allocations: 23.43 MB / 1.288 GB, free: 89.61 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009003/4.933, allocations: 1.929 MB / 1.29 GB, free: 89.52 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004083/4.937, allocations: 18.38 kB / 1.29 GB, free: 89.52 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01122/4.948, allocations: 352 kB / 1.291 GB, free: 89.52 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002729/4.951, allocations: 399.2 kB / 1.291 GB, free: 89.51 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001582/4.953, allocations: 169.3 kB / 1.291 GB, free: 89.51 MB / 0.5578 GB Notification: Performance of sorting global known variables: time 0.01533/4.968, allocations: 5.376 MB / 1.296 GB, free: 87.7 MB / 0.5578 GB Notification: Performance of sort global known variables: time 1.343e-06/4.968, allocations: 0 / 1.296 GB, free: 87.7 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.02464/4.993, allocations: 2.657 MB / 1.299 GB, free: 87.7 MB / 0.5578 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0583/5.051, allocations: 24.95 MB / 1.323 GB, free: 76.45 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.03953/5.091, allocations: 16.34 MB / 1.339 GB, free: 71.15 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/5.091, allocations: 2.812 kB / 1.339 GB, free: 71.15 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.0176/5.109, allocations: 6.841 MB / 1.346 GB, free: 65.87 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/5.119, allocations: 0.9647 MB / 1.347 GB, free: 65.07 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1137/5.233, allocations: 29.97 MB / 1.376 GB, free: 39.61 MB / 0.5578 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02321/5.256, allocations: 8.811 MB / 1.385 GB, free: 33.29 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01758/5.274, allocations: 6.316 MB / 1.391 GB, free: 27.43 MB / 0.5578 GB Notification: Performance of SimCode: time 2.274e-06/5.274, allocations: 0 / 1.391 GB, free: 27.43 MB / 0.5578 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.256/13.53, allocations: 434.1 MB / 1.815 GB, free: 49.32 MB / 0.6046 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat