Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.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.Forces.Force2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2",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.001567/0.001567, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.5 MB / 230.7 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 90.34 kB / 281.6 MB, free: 5.309 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.1918/0.1918, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.791e-05, allocations: 4.219 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1578, allocations: 61.91 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5868, allocations: 111.6 MB / 0.6038 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.5871, allocations: 75.95 kB / 0.6038 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8113/1.398, allocations: 217.1 MB / 0.8159 GB, free: 62.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.793e-06/1.398, allocations: 0 / 0.8159 GB, free: 62.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000673/1.399, allocations: 239.4 kB / 0.8161 GB, free: 62.32 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.03541/1.435, allocations: 11.54 MB / 0.8274 GB, free: 50.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.435, allocations: 11.98 kB / 0.8274 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04865/1.483, allocations: 12.61 MB / 0.8397 GB, free: 38.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03062/1.514, allocations: 12.19 MB / 0.8516 GB, free: 25.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006412/1.515, allocations: 384 kB / 0.852 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006017/1.521, allocations: 0.6833 MB / 0.8526 GB, free: 24.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03234/1.553, allocations: 15.89 MB / 0.8681 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6993/2.252, allocations: 23.84 MB / 0.8914 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000877/2.253, allocations: 141.9 kB / 0.8916 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004817/2.258, allocations: 64.69 kB / 0.8916 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00551/2.264, allocations: 2.577 MB / 0.8941 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1312/2.395, allocations: 114.7 MB / 1.006 GB, free: 16.28 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/2.405, allocations: 9.888 MB / 1.016 GB, free: 11.62 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007682/2.413, allocations: 6.855 MB / 1.022 GB, free: 8.781 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/2.415, allocations: 1.079 MB / 1.024 GB, free: 7.887 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/2.415, allocations: 89.22 kB / 1.024 GB, free: 7.809 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=448): time 7.364e-06/2.415, allocations: 2.719 kB / 1.024 GB, free: 7.809 MB / 0.5262 GB Notification: Performance of matching and sorting (n=535): time 0.1231/2.538, allocations: 58.13 MB / 1.08 GB, free: 7.746 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/2.538, allocations: 372.7 kB / 1.081 GB, free: 7.312 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01487/2.553, allocations: 7.507 MB / 1.088 GB, free: 0.7734 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001687/2.555, allocations: 29.7 kB / 1.088 GB, free: 0.7383 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.008833/2.563, allocations: 8.121 MB / 1.096 GB, free: 10.07 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003935/2.567, allocations: 1.932 MB / 1.098 GB, free: 8.332 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002227/2.57, allocations: 0 / 1.098 GB, free: 8.332 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0009921/2.571, allocations: 0.908 MB / 1.099 GB, free: 7.586 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009848/2.581, allocations: 5.577 MB / 1.104 GB, free: 2.625 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4044/2.985, allocations: 14.4 MB / 1.118 GB, free: 125.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01668/3.002, allocations: 8.548 MB / 1.127 GB, free: 125.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007725/3.003, allocations: 83.22 kB / 1.127 GB, free: 125.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=1849) (initialization): time 0.04604/3.049, allocations: 20.34 MB / 1.147 GB, free: 124.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003228/3.049, allocations: 123.9 kB / 1.147 GB, free: 124.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004597/3.049, allocations: 279.9 kB / 1.147 GB, free: 124.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007827/3.057, allocations: 3.276 MB / 1.15 GB, free: 124.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01341/3.071, allocations: 3.421 MB / 1.154 GB, free: 124.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02537/3.096, allocations: 21.23 MB / 1.174 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01411/3.11, allocations: 0.5547 MB / 1.175 GB, free: 119.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005206/3.116, allocations: 0.8256 MB / 1.176 GB, free: 119.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1276 * Number of states: 0 () * Number of discrete variables: 138 (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.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 (1731): * Single equations (assignments): 1724 * 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%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00584/3.121, allocations: 0.8556 MB / 1.176 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01952/3.141, allocations: 11.63 MB / 1.188 GB, free: 116.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002584/3.144, allocations: 0.8386 MB / 1.189 GB, free: 116.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02064/3.164, allocations: 11.94 MB / 1.2 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-05/3.164, allocations: 57.05 kB / 1.2 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-05/3.164, allocations: 14.94 kB / 1.2 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-05/3.165, allocations: 28.52 kB / 1.2 GB, free: 112.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05102/3.216, allocations: 25.29 MB / 1.225 GB, free: 98.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.158e-05/3.216, allocations: 4 kB / 1.225 GB, free: 98.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006063/3.222, allocations: 1.029 MB / 1.226 GB, free: 97.83 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006845/3.229, allocations: 2.779 MB / 1.229 GB, free: 95.89 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00142/3.23, allocations: 16 kB / 1.229 GB, free: 95.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/3.251, allocations: 19.61 MB / 1.248 GB, free: 78.38 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/3.251, allocations: 4 kB / 1.248 GB, free: 78.38 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02744/3.279, allocations: 19.57 MB / 1.267 GB, free: 61.21 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002937/3.282, allocations: 0.8213 MB / 1.268 GB, free: 60.39 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003472/3.285, allocations: 4 kB / 1.268 GB, free: 60.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006468/3.292, allocations: 296.3 kB / 1.268 GB, free: 60.24 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001657/3.294, allocations: 332.6 kB / 1.269 GB, free: 60.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005709/3.294, allocations: 135.9 kB / 1.269 GB, free: 59.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0119/3.306, allocations: 5.074 MB / 1.274 GB, free: 55.53 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.41e-07/3.306, allocations: 0 / 1.274 GB, free: 55.53 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01804/3.324, allocations: 2.41 MB / 1.276 GB, free: 53.13 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (445): * Single equations (assignments): 438 * 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.02847/3.353, allocations: 20.72 MB / 1.296 GB, free: 34.86 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02407/3.377, allocations: 14.34 MB / 1.31 GB, free: 20.84 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/3.377, allocations: 0 / 1.31 GB, free: 20.84 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009272/3.386, allocations: 5.934 MB / 1.316 GB, free: 14.88 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007989/3.394, allocations: 0.9894 MB / 1.317 GB, free: 13.93 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.427/3.821, allocations: 25.86 MB / 1.342 GB, free: 122.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02092/3.842, allocations: 8.182 MB / 1.35 GB, free: 121.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01545/3.858, allocations: 4.562 MB / 1.355 GB, free: 121.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01285/3.871, allocations: 5.725 MB / 1.36 GB, free: 121.7 MB / 0.573 GB Notification: Performance of SimCode: time 3.797e-06/3.871, allocations: 0 / 1.36 GB, free: 121.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7145/4.585, allocations: 198.2 MB / 1.554 GB, free: 96.15 MB / 0.5887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/4.585, allocations: 122.3 kB / 1.554 GB, free: 95.96 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.489/14.07, allocations: 0 / 1.554 GB, free: 95.96 MB / 0.5887 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat