Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",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.001037/0.001037, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 221.5 MB / 230.3 MB, free: 7.59 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.0009304/0.0009303, allocations: 94.17 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.812e-05, allocations: 4 kB / 337.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1181, allocations: 50.41 MB / 387.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/0.5429, allocations: 113.7 MB / 0.4895 GB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.5433, allocations: 89.58 kB / 0.4896 GB, free: 12.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5811/1.124, allocations: 131.2 MB / 0.6177 GB, free: 88.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.124, allocations: 0 / 0.6177 GB, free: 88.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005538/1.125, allocations: 148.8 kB / 0.6179 GB, free: 88.47 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.03478/1.16, allocations: 7.121 MB / 0.6248 GB, free: 81.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/1.16, allocations: 12.03 kB / 0.6248 GB, free: 81.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02179/1.182, allocations: 3.002 MB / 0.6278 GB, free: 78.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02813/1.21, allocations: 7.291 MB / 0.6349 GB, free: 71.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007805/1.211, allocations: 240 kB / 0.6351 GB, free: 71.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005652/1.216, allocations: 447.9 kB / 0.6355 GB, free: 70.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02897/1.245, allocations: 10.47 MB / 0.6458 GB, free: 60.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04824/1.294, allocations: 15.06 MB / 0.6605 GB, free: 44.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006634/1.294, allocations: 79.19 kB / 0.6605 GB, free: 43.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005608/1.3, allocations: 43.94 kB / 0.6606 GB, free: 43.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003558/1.304, allocations: 1.556 MB / 0.6621 GB, free: 42.39 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4846/1.788, allocations: 73.5 MB / 0.7339 GB, free: 57.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006379/1.795, allocations: 4.087 MB / 0.7379 GB, free: 56.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005136/1.8, allocations: 2.724 MB / 0.7405 GB, free: 56.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/1.802, allocations: 1.355 MB / 0.7419 GB, free: 55.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.908e-05/1.802, allocations: 62.53 kB / 0.7419 GB, free: 55.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 1.235e-05/1.802, allocations: 3.938 kB / 0.7419 GB, free: 55.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=299): time 0.143/1.945, allocations: 44.48 MB / 0.7854 GB, free: 49.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/1.945, allocations: 164.8 kB / 0.7855 GB, free: 49.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007795/1.953, allocations: 4.358 MB / 0.7898 GB, free: 47.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007807/1.954, allocations: 25.7 kB / 0.7898 GB, free: 47.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002986/1.957, allocations: 4.915 MB / 0.7946 GB, free: 44.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001602/1.958, allocations: 1.105 MB / 0.7957 GB, free: 43.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007072/1.959, allocations: 0 / 0.7957 GB, free: 43.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000494/1.959, allocations: 0.6822 MB / 0.7963 GB, free: 42.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004968/1.964, allocations: 3.769 MB / 0.8 GB, free: 41.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007324/1.972, allocations: 8.949 MB / 0.8088 GB, free: 32.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007473/1.979, allocations: 5.629 MB / 0.8143 GB, free: 27.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001409/1.979, allocations: 52 kB / 0.8143 GB, free: 27.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.0713/2.051, allocations: 22.74 MB / 0.8365 GB, free: 11.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/2.051, allocations: 88.06 kB / 0.8366 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002241/2.051, allocations: 184 kB / 0.8368 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01452/2.066, allocations: 5.386 MB / 0.842 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007722/2.073, allocations: 2.086 MB / 0.8441 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0459/2.119, allocations: 30.58 MB / 0.8739 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/2.13, allocations: 447 kB / 0.8744 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002683/2.132, allocations: 0.5195 MB / 0.8749 GB, free: 3.199 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 67 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1072): * Single equations (assignments): 1061 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,60.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.00292/2.135, allocations: 0.5824 MB / 0.8754 GB, free: 2.609 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06265/2.198, allocations: 16.98 MB / 0.892 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002274/2.2, allocations: 493.6 kB / 0.8925 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3914/2.592, allocations: 16.99 MB / 0.9091 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001638/2.592, allocations: 41.41 kB / 0.9091 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.885e-05/2.592, allocations: 11.31 kB / 0.9091 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/2.592, allocations: 13.95 kB / 0.9091 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08697/2.679, allocations: 26.51 MB / 0.935 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-05/2.679, allocations: 0 / 0.935 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003187/2.682, allocations: 0.5317 MB / 0.9356 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0142/2.696, allocations: 5.138 MB / 0.9406 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008785/2.697, allocations: 10.34 kB / 0.9406 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03836/2.736, allocations: 30.12 MB / 0.97 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/2.736, allocations: 3.609 kB / 0.97 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06324/2.799, allocations: 21.97 MB / 0.9915 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/2.801, allocations: 0.4929 MB / 0.9919 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/2.802, allocations: 7.922 kB / 0.9919 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0033/2.806, allocations: 259.8 kB / 0.9922 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007353/2.806, allocations: 179.6 kB / 0.9924 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002564/2.807, allocations: 78.84 kB / 0.9924 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004761/2.811, allocations: 2.895 MB / 0.9953 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.4e-07/2.811, allocations: 0 / 0.9953 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01005/2.821, allocations: 1.664 MB / 0.9969 GB, free: 115.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 207 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(5,60.0%) 4,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.06282/2.884, allocations: 22.85 MB / 1.019 GB, free: 98.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01928/2.904, allocations: 10.49 MB / 1.029 GB, free: 88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/2.904, allocations: 0 / 1.029 GB, free: 88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01073/2.914, allocations: 4.969 MB / 1.034 GB, free: 82.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005481/2.92, allocations: 0.624 MB / 1.035 GB, free: 82.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04271/2.963, allocations: 16.13 MB / 1.051 GB, free: 66.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008946/2.972, allocations: 5.163 MB / 1.056 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009002/2.981, allocations: 2.775 MB / 1.058 GB, free: 58.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006475/2.987, allocations: 3.213 MB / 1.062 GB, free: 55.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/2.987, allocations: 4 kB / 1.062 GB, free: 55.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6063/3.594, allocations: 143.5 MB / 1.202 GB, free: 79.89 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/3.594, allocations: 169.7 kB / 1.202 GB, free: 79.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.533/10.13, allocations: 0 / 1.202 GB, free: 79.7 MB / 0.4948 GB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat