Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008204/0.0008203, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 173.9 kB / 16.58 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3546/0.3546, allocations: 43.54 MB / 314.6 MB, free: 8.785 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005287, allocations: 22.95 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1163, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.2602/0.3765, allocations: 42.57 MB / 485.4 MB, free: 24.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.3973, allocations: 9.705 MB / 495.1 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01036/0.4077, allocations: 212.3 kB / 495.3 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006427/0.4142, allocations: 2.314 MB / 497.7 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01573/0.4299, allocations: 6.582 MB / 0.4924 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003047/0.433, allocations: 0.733 MB / 0.4931 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006049/0.439, allocations: 4.701 MB / 0.4977 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005174/0.4442, allocations: 3.933 MB / 0.5016 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.4467, allocations: 1.52 MB / 0.5031 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.4493, allocations: 2.052 MB / 0.5051 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004176/0.4497, allocations: 143.4 kB / 0.5052 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.4514, allocations: 0.9095 MB / 0.5061 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.4529, allocations: 1.751 MB / 0.5078 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007/0.4536, allocations: 0.8703 MB / 0.5086 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00425/0.4579, allocations: 5.449 MB / 0.514 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4579, allocations: 0 / 0.514 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4579, allocations: 0 / 0.514 GB, free: 4.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.776e-05/0.458, allocations: 0 / 0.514 GB, free: 4.719 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.007359/0.4654, allocations: 4.489 MB / 0.5184 GB, free: 1.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.4654, allocations: 9.344 kB / 0.5184 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008958/0.4663, allocations: 0.7496 MB / 0.5191 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005183/0.4715, allocations: 1.927 MB / 0.521 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00461/0.4762, allocations: 2.925 MB / 0.5238 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.4763, allocations: 242 kB / 0.5241 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004885/0.4768, allocations: 323.7 kB / 0.5244 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.4932, allocations: 11.18 MB / 0.5353 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.249e-05/0.4934, allocations: 44.47 kB / 0.5353 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/0.4937, allocations: 163.8 kB / 0.5355 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003195/0.497, allocations: 2.291 MB / 0.5377 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/0.5136, allocations: 9.843 MB / 0.5473 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05839/0.572, allocations: 44.3 MB / 0.5906 GB, free: 6.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01549/0.5876, allocations: 5.86 MB / 0.5963 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005224/0.5929, allocations: 3.233 MB / 0.5995 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01418/0.6071, allocations: 9.382 MB / 0.6086 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009282/0.6164, allocations: 3.369 MB / 0.6119 GB, free: 368 kB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 6.222e-06/0.6164, allocations: 0 / 0.6119 GB, free: 368 kB / 478.1 MB Notification: Performance of matching and sorting (n=285): time 0.3881/1.005, allocations: 33.59 MB / 0.6447 GB, free: 109.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/1.005, allocations: 156.6 kB / 0.6449 GB, free: 109.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007068/1.012, allocations: 4.189 MB / 0.649 GB, free: 109.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007226/1.012, allocations: 69.27 kB / 0.649 GB, free: 109.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002849/1.015, allocations: 3.254 MB / 0.6522 GB, free: 107.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001563/1.017, allocations: 1.041 MB / 0.6532 GB, free: 106.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/1.017, allocations: 129.3 kB / 0.6534 GB, free: 106.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003559/1.018, allocations: 0.5929 MB / 0.6539 GB, free: 106.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004667/1.022, allocations: 3.35 MB / 0.6572 GB, free: 106.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006507/1.029, allocations: 6.94 MB / 0.664 GB, free: 101.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007568/1.036, allocations: 4.727 MB / 0.6686 GB, free: 101.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-05/1.037, allocations: 35.91 kB / 0.6686 GB, free: 101.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02146/1.058, allocations: 12.53 MB / 0.6809 GB, free: 100.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.058, allocations: 56 kB / 0.6809 GB, free: 100.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001536/1.058, allocations: 132.3 kB / 0.6811 GB, free: 100.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006167/1.065, allocations: 2.653 MB / 0.6837 GB, free: 98.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005262/1.07, allocations: 1.476 MB / 0.6851 GB, free: 97.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/1.093, allocations: 21.58 MB / 0.7062 GB, free: 75.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006934/1.1, allocations: 437.3 kB / 0.7066 GB, free: 75.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.102, allocations: 393 kB / 0.707 GB, free: 75.13 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.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 (760): * Single equations (assignments): 753 * 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: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.005309/1.107, allocations: 2.238 MB / 0.7091 GB, free: 73.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.108, allocations: 406.8 kB / 0.7095 GB, free: 72.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/1.121, allocations: 7.994 MB / 0.7173 GB, free: 64.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.465e-05/1.122, allocations: 28 kB / 0.7174 GB, free: 64.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-05/1.122, allocations: 11.09 kB / 0.7174 GB, free: 64.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-05/1.122, allocations: 22.41 kB / 0.7174 GB, free: 64.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03462/1.156, allocations: 14.78 MB / 0.7318 GB, free: 49.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.602e-05/1.156, allocations: 4.188 kB / 0.7318 GB, free: 49.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003/1.159, allocations: 402.5 kB / 0.7322 GB, free: 49.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008618/1.168, allocations: 2.426 MB / 0.7346 GB, free: 47.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009787/1.169, allocations: 53.08 kB / 0.7346 GB, free: 47.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03046/1.2, allocations: 21.34 MB / 0.7555 GB, free: 25.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.2, allocations: 4.562 kB / 0.7555 GB, free: 25.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.212, allocations: 8.104 MB / 0.7634 GB, free: 17.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002924/1.215, allocations: 0.9954 MB / 0.7644 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/1.217, allocations: 48 kB / 0.7644 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/1.219, allocations: 215.7 kB / 0.7646 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006737/1.22, allocations: 192.9 kB / 0.7648 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/1.22, allocations: 79.73 kB / 0.7649 GB, free: 15.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003777/1.224, allocations: 2.619 MB / 0.7674 GB, free: 12.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.224, allocations: 0 / 0.7674 GB, free: 12.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007422/1.231, allocations: 1.355 MB / 0.7688 GB, free: 11.51 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 179 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01596/1.247, allocations: 9.094 MB / 0.7776 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01667/1.264, allocations: 8.821 MB / 0.7863 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/1.264, allocations: 0 / 0.7863 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007829/1.272, allocations: 4.064 MB / 0.7902 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005639/1.277, allocations: 486.5 kB / 0.7907 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3429/1.62, allocations: 46.06 MB / 0.8357 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004641/1.625, allocations: 3.578 MB / 0.8392 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005437/1.631, allocations: 2.14 MB / 0.8413 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003593/1.634, allocations: 2.077 MB / 0.8433 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.393e-06/1.634, allocations: 6.938 kB / 0.8433 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.159/1.793, allocations: 106.4 MB / 0.9472 GB, free: 95.86 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.793, allocations: 249.3 kB / 0.9474 GB, free: 95.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.309/6.102, allocations: 4 kB / 0.9474 GB, free: 95.52 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat