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.001561/0.00156, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.3 MB / 236 MB, free: 2.984 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.0009851/0.000985, allocations: 91.86 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2536/0.2536, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.612e-05, allocations: 12.14 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5766, allocations: 112.3 MB / 0.6114 GB, free: 8.922 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5769, allocations: 79.95 kB / 0.6115 GB, free: 8.844 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8468/1.424, allocations: 222.6 MB / 0.8289 GB, free: 77.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.004e-06/1.424, allocations: 0 / 0.8289 GB, free: 77.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006892/1.424, allocations: 236 kB / 0.8292 GB, free: 77.09 MB / 0.5105 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.03912/1.464, allocations: 11.55 MB / 0.8404 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/1.464, allocations: 8.031 kB / 0.8404 GB, free: 65.44 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01008/1.474, allocations: 1.993 MB / 0.8424 GB, free: 63.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04911/1.523, allocations: 12.62 MB / 0.8547 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02957/1.552, allocations: 12.2 MB / 0.8666 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/1.554, allocations: 0.8784 MB / 0.8675 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007122/1.561, allocations: 1.164 MB / 0.8686 GB, free: 36.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07296/1.634, allocations: 27.96 MB / 0.8959 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001298/1.635, allocations: 150.6 kB / 0.8961 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006967/1.642, allocations: 0.5427 MB / 0.8966 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004055/1.646, allocations: 2.573 MB / 0.8991 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4624/2.109, allocations: 22.56 MB / 0.9211 GB, free: 81.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1522/2.261, allocations: 120.2 MB / 1.039 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03568/2.297, allocations: 13.83 MB / 1.052 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009712/2.306, allocations: 7.26 MB / 1.059 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03479/2.341, allocations: 17.78 MB / 1.077 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/2.341, allocations: 89.92 kB / 1.077 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=469): time 1.127e-05/2.341, allocations: 0 / 1.077 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=553): time 0.1662/2.508, allocations: 56.58 MB / 1.132 GB, free: 4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002239/2.508, allocations: 374.5 kB / 1.132 GB, free: 3.574 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4616/2.969, allocations: 10.11 MB / 1.142 GB, free: 135.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002085/2.972, allocations: 110.6 kB / 1.142 GB, free: 135.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009211/2.981, allocations: 7.861 MB / 1.15 GB, free: 133.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003869/2.985, allocations: 2.05 MB / 1.152 GB, free: 132.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002503/2.987, allocations: 282.2 kB / 1.152 GB, free: 132.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00129/2.989, allocations: 0.896 MB / 1.153 GB, free: 131.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0137/3.002, allocations: 5.774 MB / 1.159 GB, free: 131.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02159/3.024, allocations: 13.6 MB / 1.172 GB, free: 121.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01442/3.039, allocations: 8.769 MB / 1.18 GB, free: 121.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003636/3.039, allocations: 79.19 kB / 1.181 GB, free: 121.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.04912/3.088, allocations: 22.14 MB / 1.202 GB, free: 117.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002989/3.088, allocations: 124.5 kB / 1.202 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005764/3.089, allocations: 271.8 kB / 1.203 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009736/3.099, allocations: 3.256 MB / 1.206 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01418/3.113, allocations: 3.365 MB / 1.209 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02559/3.139, allocations: 22.41 MB / 1.231 GB, free: 104.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/3.154, allocations: 0.8248 MB / 1.232 GB, free: 104.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003614/3.158, allocations: 0.8105 MB / 1.233 GB, free: 104.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1252 * 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 (1698): * Single equations (assignments): 1691 * 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 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005921/3.164, allocations: 1.196 MB / 1.234 GB, free: 103.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003362/3.167, allocations: 1.001 MB / 1.235 GB, free: 103 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02592/3.193, allocations: 12.68 MB / 1.247 GB, free: 97.44 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.7e-05/3.193, allocations: 60 kB / 1.247 GB, free: 97.38 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-05/3.194, allocations: 16 kB / 1.247 GB, free: 97.37 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001449/3.194, allocations: 25.55 kB / 1.247 GB, free: 97.37 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07225/3.266, allocations: 28.84 MB / 1.275 GB, free: 74.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.184e-05/3.266, allocations: 8 kB / 1.275 GB, free: 74.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006373/3.272, allocations: 1.099 MB / 1.276 GB, free: 73.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007701/3.28, allocations: 2.814 MB / 1.279 GB, free: 71.33 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001796/3.282, allocations: 104 kB / 1.279 GB, free: 71.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02472/3.307, allocations: 21.01 MB / 1.3 GB, free: 52.43 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/3.307, allocations: 15.94 kB / 1.3 GB, free: 52.41 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03458/3.341, allocations: 22.73 MB / 1.322 GB, free: 31.61 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005472/3.347, allocations: 1.093 MB / 1.323 GB, free: 30.54 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005114/3.352, allocations: 103 kB / 1.323 GB, free: 30.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008082/3.36, allocations: 383.2 kB / 1.323 GB, free: 30.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002291/3.363, allocations: 356.6 kB / 1.324 GB, free: 29.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006835/3.363, allocations: 147.4 kB / 1.324 GB, free: 29.83 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01635/3.38, allocations: 7.288 MB / 1.331 GB, free: 23.46 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.92e-07/3.38, allocations: 0 / 1.331 GB, free: 23.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01905/3.399, allocations: 2.807 MB / 1.334 GB, free: 20.67 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (463): * Single equations (assignments): 456 * 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%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4907/3.89, allocations: 23.95 MB / 1.357 GB, free: 117 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03727/3.927, allocations: 14.58 MB / 1.371 GB, free: 116.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.254e-05/3.927, allocations: 3.906 kB / 1.371 GB, free: 116.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0176/3.945, allocations: 6.245 MB / 1.378 GB, free: 115.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01553/3.96, allocations: 1.337 MB / 1.379 GB, free: 115.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09356/4.054, allocations: 27.01 MB / 1.405 GB, free: 111.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02005/4.074, allocations: 8.158 MB / 1.413 GB, free: 109.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01682/4.091, allocations: 4.669 MB / 1.418 GB, free: 109 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01369/4.105, allocations: 5.804 MB / 1.423 GB, free: 104.2 MB / 0.573 GB Notification: Performance of SimCode: time 2.495e-06/4.105, allocations: 0 / 1.423 GB, free: 104.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8006/4.905, allocations: 222 MB / 1.64 GB, free: 97 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/4.905, allocations: 166.4 kB / 1.64 GB, free: 96.78 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/17.52, allocations: 0.8125 kB / 1.64 GB, free: 96.78 MB / 0.5886 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