Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",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.001289/0.001289, 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.59/1.59, allocations: 221.3 MB / 236 MB, free: 2.977 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.0009073/0.0009073, allocations: 80.11 kB / 287 MB, free: 256 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.2301/0.2301, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.672e-05/4.674e-05, allocations: 8.156 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1528, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5147/0.6676, allocations: 106.4 MB / 0.6057 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.6678, allocations: 79.95 kB / 0.6058 GB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09617/0.764, allocations: 34.97 MB / 0.6399 GB, free: 11.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.7641, allocations: 0 / 0.6399 GB, free: 11.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.565e-05/0.7642, allocations: 31.98 kB / 0.6399 GB, free: 11.64 MB / 458.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.003421/0.7676, allocations: 1.686 MB / 0.6416 GB, free: 9.906 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.7677, allocations: 12.03 kB / 0.6416 GB, free: 9.895 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003469/0.768, allocations: 249.3 kB / 0.6418 GB, free: 9.641 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.7699, allocations: 409.4 kB / 0.6422 GB, free: 9.238 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007808/0.7777, allocations: 2.803 MB / 0.645 GB, free: 6.391 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.7778, allocations: 102.9 kB / 0.6451 GB, free: 6.289 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002875/0.7781, allocations: 151.9 kB / 0.6452 GB, free: 6.141 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006348/0.7845, allocations: 3.012 MB / 0.6481 GB, free: 2.902 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.595e-05/0.7846, allocations: 19.92 kB / 0.6482 GB, free: 2.883 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.7848, allocations: 67.97 kB / 0.6482 GB, free: 2.816 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004924/0.7853, allocations: 286.1 kB / 0.6485 GB, free: 2.535 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004916/0.7902, allocations: 2.179 MB / 0.6506 GB, free: 356 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.8047, allocations: 11.57 MB / 0.6619 GB, free: 4.461 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003836/0.8086, allocations: 1.185 MB / 0.6631 GB, free: 3.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/0.8093, allocations: 387.3 kB / 0.6635 GB, free: 2.867 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004573/0.8138, allocations: 3.024 MB / 0.6664 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.8139, allocations: 42.94 kB / 0.6665 GB, free: 15.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 2.184e-06/0.8139, allocations: 0 / 0.6665 GB, free: 15.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.01069/0.8246, allocations: 3.335 MB / 0.6697 GB, free: 12.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.8247, allocations: 85.67 kB / 0.6698 GB, free: 12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.8263, allocations: 1.049 MB / 0.6708 GB, free: 10.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.8264, allocations: 37.7 kB / 0.6708 GB, free: 10.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006926/0.8271, allocations: 0.9433 MB / 0.6718 GB, free: 9.941 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.8273, allocations: 213.2 kB / 0.672 GB, free: 9.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.8273, allocations: 40 kB / 0.672 GB, free: 9.691 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.8275, allocations: 369.9 kB / 0.6724 GB, free: 9.324 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.8281, allocations: 395.8 kB / 0.6727 GB, free: 8.938 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.8294, allocations: 1.233 MB / 0.6739 GB, free: 7.285 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009298/0.8303, allocations: 0.6767 MB / 0.6746 GB, free: 6.609 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.8303, allocations: 15.95 kB / 0.6746 GB, free: 6.594 MB / 490.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002562/0.8329, allocations: 1.676 MB / 0.6763 GB, free: 4.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.833, allocations: 24.03 kB / 0.6763 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.833, allocations: 28 kB / 0.6763 GB, free: 4.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/0.8332, allocations: 92.83 kB / 0.6764 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.8343, allocations: 363.3 kB / 0.6767 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.836, allocations: 1.686 MB / 0.6784 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009091/0.837, allocations: 67.89 kB / 0.6785 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.8371, allocations: 88 kB / 0.6785 GB, free: 2.43 MB / 490.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.0002555/0.8373, allocations: 235.3 kB / 0.6788 GB, free: 2.191 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.8375, allocations: 114.6 kB / 0.6789 GB, free: 2.078 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.8387, allocations: 0.6991 MB / 0.6796 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.8387, allocations: 4 kB / 0.6796 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.8388, allocations: 4.188 kB / 0.6796 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.8388, allocations: 7.984 kB / 0.6796 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/0.8424, allocations: 2.254 MB / 0.6818 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.8424, allocations: 4 kB / 0.6818 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/0.8428, allocations: 103.8 kB / 0.6819 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/0.843, allocations: 57.33 kB / 0.6819 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.843, allocations: 20 kB / 0.6819 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.8447, allocations: 1.737 MB / 0.6836 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.8447, allocations: 7.938 kB / 0.6837 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.8463, allocations: 1.273 MB / 0.6849 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.8466, allocations: 187.7 kB / 0.6851 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/0.8467, allocations: 23.94 kB / 0.6851 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.8471, allocations: 23.98 kB / 0.6851 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.8471, allocations: 47.91 kB / 0.6852 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.8472, allocations: 19.94 kB / 0.6852 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001119/0.8483, allocations: 0.7534 MB / 0.6859 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8483, allocations: 0 / 0.6859 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001448/0.8498, allocations: 311.9 kB / 0.6862 GB, free: 10.11 MB / 0.4948 GB 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.002341/0.8521, allocations: 2.949 MB / 0.6891 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.8539, allocations: 1.058 MB / 0.6901 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8539, allocations: 0 / 0.6901 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.8545, allocations: 402.4 kB / 0.6905 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008458/0.8553, allocations: 181.6 kB / 0.6907 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.8605, allocations: 2.604 MB / 0.6932 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.8618, allocations: 1.478 MB / 0.6947 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001076/0.8629, allocations: 413.7 kB / 0.6951 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007083/0.8636, allocations: 0.5657 MB / 0.6956 GB, free: 204 kB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/0.8636, allocations: 0 / 0.6956 GB, free: 204 kB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3498/1.213, allocations: 22.63 MB / 0.7177 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/1.214, allocations: 185 kB / 0.7179 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.959, allocations: 1.531 kB / 0.7179 GB, free: 152.2 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat