Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",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.001529/0.001529, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00087/0.0008697, allocations: 94.36 kB / 267.1 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4586/0.4586, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.775e-05/4.79e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1444, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4794/0.6239, allocations: 104.6 MB / 0.575 GB, free: 1.246 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.6242, allocations: 81.53 kB / 0.5751 GB, free: 1.207 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1028/0.727, allocations: 34.68 MB / 0.609 GB, free: 3.027 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7271, allocations: 0 / 0.609 GB, free: 3.027 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000102/0.7272, allocations: 36 kB / 0.609 GB, free: 2.992 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.004485/0.7317, allocations: 1.698 MB / 0.6107 GB, free: 1.352 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.245e-05/0.7318, allocations: 12.03 kB / 0.6107 GB, free: 1.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004546/0.7322, allocations: 255 kB / 0.6109 GB, free: 1.176 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/0.7348, allocations: 414.7 kB / 0.6113 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.7456, allocations: 2.929 MB / 0.6142 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.7458, allocations: 117.9 kB / 0.6143 GB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006997/0.7466, allocations: 145 kB / 0.6144 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009981/0.7566, allocations: 3.017 MB / 0.6174 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/0.7567, allocations: 15.78 kB / 0.6174 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003422/0.7571, allocations: 65.98 kB / 0.6175 GB, free: 11.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007047/0.7578, allocations: 279.4 kB / 0.6177 GB, free: 11.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007206/0.765, allocations: 2.184 MB / 0.6199 GB, free: 9.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02089/0.7859, allocations: 11.59 MB / 0.6312 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/0.7906, allocations: 1.192 MB / 0.6323 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.7912, allocations: 390.9 kB / 0.6327 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004449/0.7957, allocations: 3.03 MB / 0.6357 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.7957, allocations: 39 kB / 0.6357 GB, free: 11.42 MB / 458.7 MB Notification: Performance of pre-optimization done (n=51): time 2.996e-06/0.7957, allocations: 0 / 0.6357 GB, free: 11.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=57): time 0.01149/0.8072, allocations: 3.393 MB / 0.639 GB, free: 7.926 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.8074, allocations: 81.67 kB / 0.6391 GB, free: 7.828 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.8098, allocations: 1.073 MB / 0.6401 GB, free: 6.742 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.749e-05/0.8099, allocations: 37.7 kB / 0.6402 GB, free: 6.699 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009592/0.8108, allocations: 0.9433 MB / 0.6411 GB, free: 5.742 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.8111, allocations: 229 kB / 0.6413 GB, free: 5.516 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.8112, allocations: 32 kB / 0.6414 GB, free: 5.484 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.8114, allocations: 365.9 kB / 0.6417 GB, free: 5.121 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007085/0.8121, allocations: 387.9 kB / 0.6421 GB, free: 4.742 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.8135, allocations: 1.24 MB / 0.6433 GB, free: 3.086 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.8146, allocations: 0.665 MB / 0.6439 GB, free: 2.422 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-05/0.8146, allocations: 8 kB / 0.6439 GB, free: 2.414 MB / 458.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.0032/0.8178, allocations: 1.684 MB / 0.6456 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.8179, allocations: 23.95 kB / 0.6456 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.755e-05/0.818, allocations: 31.94 kB / 0.6456 GB, free: 0.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/0.8182, allocations: 88.83 kB / 0.6457 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.8195, allocations: 363.3 kB / 0.6461 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.8214, allocations: 1.694 MB / 0.6477 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.8227, allocations: 68.05 kB / 0.6478 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.8229, allocations: 88 kB / 0.6479 GB, free: 14.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003609/0.8232, allocations: 243.3 kB / 0.6481 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.8235, allocations: 118.5 kB / 0.6482 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.8251, allocations: 0.699 MB / 0.6489 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-05/0.8252, allocations: 4 kB / 0.6489 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.8252, allocations: 4 kB / 0.6489 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.8252, allocations: 3.938 kB / 0.6489 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004763/0.83, allocations: 2.242 MB / 0.6511 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.83, allocations: 4 kB / 0.6511 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/0.8304, allocations: 104.3 kB / 0.6512 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002113/0.8307, allocations: 64.83 kB / 0.6513 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.8307, allocations: 16 kB / 0.6513 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.8325, allocations: 1.741 MB / 0.653 GB, free: 8.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.8326, allocations: 12.05 kB / 0.653 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.8346, allocations: 1.286 MB / 0.6542 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/0.8353, allocations: 223.5 kB / 0.6545 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/0.8356, allocations: 16 kB / 0.6545 GB, free: 7.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.8363, allocations: 23.98 kB / 0.6545 GB, free: 7.012 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.8364, allocations: 55.91 kB / 0.6546 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.8365, allocations: 16 kB / 0.6546 GB, free: 6.941 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001935/0.8384, allocations: 0.7617 MB / 0.6553 GB, free: 6.172 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8385, allocations: 0 / 0.6553 GB, free: 6.172 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00197/0.8404, allocations: 315.9 kB / 0.6556 GB, free: 5.863 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002767/0.8432, allocations: 2.931 MB / 0.6585 GB, free: 2.797 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.8453, allocations: 1.069 MB / 0.6595 GB, free: 1.715 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8453, allocations: 0 / 0.6595 GB, free: 1.715 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005832/0.8459, allocations: 395.6 kB / 0.6599 GB, free: 1.316 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.8469, allocations: 174.1 kB / 0.6601 GB, free: 1.145 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006404/0.8534, allocations: 2.598 MB / 0.6626 GB, free: 14.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.855, allocations: 1.49 MB / 0.6641 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001186/0.8562, allocations: 413.8 kB / 0.6644 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008049/0.857, allocations: 0.5696 MB / 0.665 GB, free: 11.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.413e-06/0.857, allocations: 4 kB / 0.665 GB, free: 11.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07297/0.93, allocations: 22.77 MB / 0.6872 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003248/0.9303, allocations: 172 kB / 0.6874 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/3.752, allocations: 4.062 kB / 0.6874 GB, free: 4.988 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat