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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 96.28 kB / 15.69 MB, free: 480 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.0009844/0.0009845, allocations: 173.9 kB / 16.57 MB, free: 6.852 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.797/1.797, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.4461/0.4461, allocations: 43.54 MB / 314.5 MB, free: 9.055 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.0005246/0.0005246, allocations: 12 kB / 384 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1534, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3294/0.4828, allocations: 22.35 MB / 465.2 MB, free: 35.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.498, allocations: 6.167 MB / 471.4 MB, free: 34.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005906/0.5039, allocations: 105.9 kB / 471.5 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004697/0.5086, allocations: 1.056 MB / 472.5 MB, free: 33.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01435/0.523, allocations: 3.37 MB / 475.9 MB, free: 32.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.5256, allocations: 439 kB / 476.3 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.5281, allocations: 0.9823 MB / 477.3 MB, free: 32.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.5308, allocations: 1.964 MB / 479.3 MB, free: 31.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007086/0.5315, allocations: 452.3 kB / 479.7 MB, free: 31.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.5321, allocations: 0.5774 MB / 480.3 MB, free: 31.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.5323, allocations: 55.09 kB / 480.3 MB, free: 31.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008308/0.5331, allocations: 433.9 kB / 480.8 MB, free: 31.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000508/0.5336, allocations: 0.5842 MB / 481.3 MB, free: 31.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.534, allocations: 311.4 kB / 481.7 MB, free: 30.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.5361, allocations: 1.912 MB / 483.6 MB, free: 30.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5361, allocations: 0 / 483.6 MB, free: 30.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.5362, allocations: 4 kB / 483.6 MB, free: 30.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.505e-05/0.5362, allocations: 3.281 kB / 483.6 MB, free: 30.42 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003599/0.5398, allocations: 1.732 MB / 485.3 MB, free: 29.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.5399, allocations: 9.031 kB / 485.3 MB, free: 29.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002941/0.5402, allocations: 246.3 kB / 485.6 MB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.5413, allocations: 283.3 kB / 485.8 MB, free: 29.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.5436, allocations: 1.282 MB / 487.1 MB, free: 28.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-05/0.5437, allocations: 102.3 kB / 487.2 MB, free: 28.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.5439, allocations: 126.3 kB / 487.3 MB, free: 28.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006039/0.5499, allocations: 3.039 MB / 490.4 MB, free: 27.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.496e-05/0.55, allocations: 10.3 kB / 490.4 MB, free: 27.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.5502, allocations: 59.2 kB / 490.4 MB, free: 27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001039/0.5512, allocations: 436.8 kB / 490.9 MB, free: 26.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006262/0.5575, allocations: 2.218 MB / 493.1 MB, free: 26.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/0.575, allocations: 10.82 MB / 0.4921 GB, free: 18.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004738/0.5798, allocations: 1.248 MB / 0.4933 GB, free: 18.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006353/0.5862, allocations: 3.035 MB / 0.4963 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.5863, allocations: 39.17 kB / 0.4963 GB, free: 16.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.656e-06/0.5864, allocations: 0 / 0.4963 GB, free: 16.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01396/0.6003, allocations: 3.811 MB / 0.5 GB, free: 14.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.6004, allocations: 89.66 kB / 0.5001 GB, free: 14.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.6026, allocations: 1.312 MB / 0.5014 GB, free: 14.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.6027, allocations: 36.3 kB / 0.5014 GB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006639/0.6033, allocations: 0.9485 MB / 0.5024 GB, free: 13.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.6035, allocations: 221.9 kB / 0.5026 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.6036, allocations: 30.19 kB / 0.5026 GB, free: 13.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6038, allocations: 372.1 kB / 0.503 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007126/0.6045, allocations: 401.9 kB / 0.5033 GB, free: 12.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.6058, allocations: 1.229 MB / 0.5045 GB, free: 11.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.607, allocations: 0.6732 MB / 0.5052 GB, free: 10.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/0.607, allocations: 8.219 kB / 0.5052 GB, free: 10.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003227/0.6103, allocations: 1.697 MB / 0.5069 GB, free: 10 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/0.6103, allocations: 17.31 kB / 0.5069 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.655e-05/0.6104, allocations: 33.44 kB / 0.5069 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.6107, allocations: 90.61 kB / 0.507 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.6119, allocations: 352.2 kB / 0.5073 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.6137, allocations: 1.705 MB / 0.509 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.615, allocations: 66.92 kB / 0.5091 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.6151, allocations: 84 kB / 0.5091 GB, free: 8.246 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * 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.001191/0.6163, allocations: 0.6549 MB / 0.5098 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.6165, allocations: 116.9 kB / 0.5099 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.6177, allocations: 0.7014 MB / 0.5106 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.6177, allocations: 11.64 kB / 0.5106 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6177, allocations: 0 / 0.5106 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.6177, allocations: 0.875 kB / 0.5106 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/0.6216, allocations: 2.25 MB / 0.5128 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.6216, allocations: 3.625 kB / 0.5128 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.622, allocations: 98.05 kB / 0.5129 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.6222, allocations: 71.5 kB / 0.513 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.6222, allocations: 13.25 kB / 0.513 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.6237, allocations: 1.768 MB / 0.5147 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6238, allocations: 5.062 kB / 0.5147 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.6254, allocations: 1.302 MB / 0.516 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/0.6259, allocations: 231.8 kB / 0.5162 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.626, allocations: 18.27 kB / 0.5162 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.6265, allocations: 31.58 kB / 0.5162 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.6266, allocations: 46.91 kB / 0.5163 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.6266, allocations: 19.78 kB / 0.5163 GB, free: 2.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.6278, allocations: 0.8568 MB / 0.5171 GB, free: 2.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6278, allocations: 0 / 0.5171 GB, free: 2.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001699/0.6295, allocations: 320 kB / 0.5174 GB, free: 1.797 MB / 382.1 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 () * Number of clocked 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.002488/0.632, allocations: 2.973 MB / 0.5203 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.6341, allocations: 1.08 MB / 0.5214 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6341, allocations: 7.938 kB / 0.5214 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.6347, allocations: 399.8 kB / 0.5218 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009071/0.6357, allocations: 163.4 kB / 0.5219 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.6534, allocations: 25.08 MB / 0.5464 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.6549, allocations: 1.49 MB / 0.5479 GB, free: 1.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001232/0.6561, allocations: 417.8 kB / 0.5483 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006878/0.6568, allocations: 0.5891 MB / 0.5489 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6568, allocations: 3.938 kB / 0.5489 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05657/0.7134, allocations: 22.97 MB / 0.5713 GB, free: 9.812 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.7137, allocations: 195.6 kB / 0.5715 GB, free: 9.574 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.37, allocations: 7.938 kB / 0.5715 GB, free: 9.566 MB / 446.1 MB (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) Environment - environmentSimulation: 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