Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00104/0.00104, allocations: 96.47 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 195.9 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.3 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 8 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1145, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3391/0.4537, allocations: 80.98 MB / 0.5494 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03877/0.4926, allocations: 16.37 MB / 0.5654 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01622/0.5088, allocations: 382.8 kB / 0.5658 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01254/0.5214, allocations: 4.285 MB / 0.57 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03469/0.5561, allocations: 12.39 MB / 0.5821 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005326/0.5615, allocations: 0.8856 MB / 0.5829 GB, free: 152 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.07631/0.6378, allocations: 63.17 MB / 0.6446 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0124/0.6503, allocations: 7.314 MB / 0.6518 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005769/0.6561, allocations: 1.923 MB / 0.6537 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005691/0.6618, allocations: 2.979 MB / 0.6566 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001802/0.6637, allocations: 216 kB / 0.6568 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004187/0.6679, allocations: 0.9948 MB / 0.6577 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003974/0.6719, allocations: 2.661 MB / 0.6603 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002707/0.6747, allocations: 1.252 MB / 0.6616 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.6864, allocations: 8.323 MB / 0.6697 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.6864, allocations: 0 / 0.6697 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.326e-06/0.6864, allocations: 0 / 0.6697 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000544/0.687, allocations: 0 / 0.6697 GB, free: 7.113 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02089/0.7079, allocations: 6.478 MB / 0.676 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.708, allocations: 8.031 kB / 0.676 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004867/0.7129, allocations: 1.046 MB / 0.677 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03557/0.7485, allocations: 6.341 MB / 0.6832 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.7594, allocations: 4.543 MB / 0.6877 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004424/0.7599, allocations: 365.3 kB / 0.688 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/0.7623, allocations: 487.6 kB / 0.6885 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03235/0.7947, allocations: 14.91 MB / 0.703 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003239/0.7951, allocations: 71.36 kB / 0.7031 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001698/0.7968, allocations: 231.8 kB / 0.7033 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005268/0.8021, allocations: 2.871 MB / 0.7061 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2755/1.078, allocations: 12.5 MB / 0.7183 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05898/1.137, allocations: 58.65 MB / 0.7756 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/1.152, allocations: 7.17 MB / 0.7826 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003836/1.156, allocations: 3.764 MB / 0.7863 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/1.168, allocations: 8.779 MB / 0.7949 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/1.168, allocations: 72.39 kB / 0.7949 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 5.46e-06/1.168, allocations: 0 / 0.7949 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.06902/1.237, allocations: 31.05 MB / 0.8253 GB, free: 82.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/1.237, allocations: 239.6 kB / 0.8255 GB, free: 82.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008191/1.245, allocations: 6.683 MB / 0.832 GB, free: 75.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007129/1.246, allocations: 66.33 kB / 0.8321 GB, free: 75.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002408/1.249, allocations: 4.518 MB / 0.8365 GB, free: 71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001318/1.25, allocations: 1.091 MB / 0.8376 GB, free: 69.92 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004563/1.25, allocations: 168 kB / 0.8377 GB, free: 69.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003468/1.251, allocations: 0.6733 MB / 0.8384 GB, free: 69.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004508/1.255, allocations: 3.374 MB / 0.8417 GB, free: 65.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006401/1.262, allocations: 8.395 MB / 0.8499 GB, free: 54.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007303/1.269, allocations: 5.201 MB / 0.8549 GB, free: 49.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-05/1.269, allocations: 49.5 kB / 0.855 GB, free: 49.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.02177/1.291, allocations: 13.03 MB / 0.8677 GB, free: 36.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002698/1.291, allocations: 84.03 kB / 0.8678 GB, free: 36.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003451/1.292, allocations: 179.9 kB / 0.868 GB, free: 36.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004111/1.296, allocations: 1.782 MB / 0.8697 GB, free: 34.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006237/1.302, allocations: 1.961 MB / 0.8716 GB, free: 32.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/1.315, allocations: 11.87 MB / 0.8832 GB, free: 20.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006453/1.321, allocations: 495.2 kB / 0.8837 GB, free: 19.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/1.323, allocations: 0.5077 MB / 0.8842 GB, free: 19.38 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1026): * Single equations (assignments): 1019 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006708/1.33, allocations: 3.041 MB / 0.8872 GB, free: 16.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/1.331, allocations: 0.5668 MB / 0.8877 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.343, allocations: 6.476 MB / 0.894 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.776e-05/1.343, allocations: 35.95 kB / 0.8941 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.242e-05/1.343, allocations: 8 kB / 0.8941 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-05/1.343, allocations: 23.83 kB / 0.8941 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02847/1.372, allocations: 14.53 MB / 0.9083 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.5e-05/1.372, allocations: 4 kB / 0.9083 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/1.374, allocations: 491.2 kB / 0.9088 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003957/1.378, allocations: 1.507 MB / 0.9102 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005478/1.379, allocations: 56.94 kB / 0.9103 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2904/1.669, allocations: 11.06 MB / 0.9211 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.669, allocations: 8.875 kB / 0.9211 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.687, allocations: 10.53 MB / 0.9314 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/1.689, allocations: 0.6424 MB / 0.932 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00165/1.691, allocations: 48.86 kB / 0.9321 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/1.694, allocations: 191.3 kB / 0.9322 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007104/1.695, allocations: 173.9 kB / 0.9324 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/1.695, allocations: 78.36 kB / 0.9325 GB, free: 176.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009056/1.704, allocations: 4.288 MB / 0.9367 GB, free: 174.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.21e-07/1.704, allocations: 0 / 0.9367 GB, free: 174.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008674/1.713, allocations: 1.556 MB / 0.9382 GB, free: 174.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.01415/1.727, allocations: 11.21 MB / 0.9491 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01142/1.738, allocations: 8.308 MB / 0.9572 GB, free: 167.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.738, allocations: 0 / 0.9572 GB, free: 167.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004866/1.743, allocations: 3.297 MB / 0.9605 GB, free: 165.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005474/1.749, allocations: 0.7433 MB / 0.9612 GB, free: 165.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.101/1.85, allocations: 62.92 MB / 1.023 GB, free: 100.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005277/1.855, allocations: 4.633 MB / 1.027 GB, free: 95.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006433/1.861, allocations: 2.807 MB / 1.03 GB, free: 92.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004232/1.866, allocations: 3.01 MB / 1.033 GB, free: 89.57 MB / 0.545 GB Notification: Performance of SimCode: time 1.603e-06/1.866, allocations: 4 kB / 1.033 GB, free: 89.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4184/2.284, allocations: 126.9 MB / 1.157 GB, free: 166.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/2.284, allocations: 198.5 kB / 1.157 GB, free: 166 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.106/8.391, allocations: 0 / 1.157 GB, free: 166 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat