Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001017/0.001017, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009568/0.0009568, allocations: 102 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.393e-05/2.388e-05, allocations: 7.203 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5782/0.7142, allocations: 103.6 MB / 0.6056 GB, free: 14.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.7145, allocations: 79.67 kB / 0.6057 GB, free: 14.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2189/0.9334, allocations: 84.33 MB / 0.688 GB, free: 2.812 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9335, allocations: 0 / 0.688 GB, free: 2.812 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001466/0.9337, allocations: 72 kB / 0.6881 GB, free: 2.742 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01274/0.9464, allocations: 3.444 MB / 0.6914 GB, free: 15.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.832e-05/0.9465, allocations: 12.03 kB / 0.6914 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.9625, allocations: 3.489 MB / 0.6949 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.973, allocations: 3.511 MB / 0.6983 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.9733, allocations: 120 kB / 0.6984 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00233/0.9757, allocations: 220 kB / 0.6986 GB, free: 7.832 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01362/0.9893, allocations: 6.911 MB / 0.7054 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02085/1.01, allocations: 9.053 MB / 0.7142 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/1.01, allocations: 27.72 kB / 0.7142 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005809/1.011, allocations: 15.94 kB / 0.7142 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00156/1.013, allocations: 1.129 MB / 0.7153 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04324/1.056, allocations: 29.1 MB / 0.7438 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003684/1.06, allocations: 2.918 MB / 0.7466 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/1.061, allocations: 1.025 MB / 0.7476 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/1.062, allocations: 1.307 MB / 0.7489 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/1.062, allocations: 55.84 kB / 0.7489 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=187): time 4.879e-06/1.062, allocations: 0 / 0.7489 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of matching and sorting (n=193): time 0.3508/1.413, allocations: 7.259 MB / 0.756 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/1.413, allocations: 66.72 kB / 0.7561 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004143/1.417, allocations: 2.204 MB / 0.7582 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001993/1.418, allocations: 28.27 kB / 0.7583 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002454/1.42, allocations: 2.756 MB / 0.761 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000789/1.421, allocations: 0.6942 MB / 0.7616 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/1.421, allocations: 0 / 0.7616 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004682/1.421, allocations: 0.5885 MB / 0.7622 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/1.424, allocations: 1.474 MB / 0.7637 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003833/1.428, allocations: 4.52 MB / 0.7681 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/1.432, allocations: 2.635 MB / 0.7706 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-05/1.432, allocations: 30.31 kB / 0.7707 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=687) (initialization): time 0.01013/1.442, allocations: 5.403 MB / 0.7759 GB, free: 137 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.608e-05/1.442, allocations: 57.25 kB / 0.776 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/1.442, allocations: 108.3 kB / 0.7761 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/1.443, allocations: 198.3 kB / 0.7763 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/1.446, allocations: 1.148 MB / 0.7774 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/1.447, allocations: 1.632 MB / 0.779 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/1.451, allocations: 122.8 kB / 0.7791 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004115/1.451, allocations: 314 kB / 0.7794 GB, free: 135.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 496 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[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 (635): * Single equations (assignments): 628 * Array equations: 6 * 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.0005786/1.452, allocations: 388.6 kB / 0.7798 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002737/1.454, allocations: 2.103 MB / 0.7819 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/1.455, allocations: 244.7 kB / 0.7821 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/1.458, allocations: 2.421 MB / 0.7844 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/1.458, allocations: 22.7 kB / 0.7845 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.458, allocations: 0 / 0.7845 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.458, allocations: 7.266 kB / 0.7845 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009675/1.468, allocations: 6.751 MB / 0.7911 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.468, allocations: 11.59 kB / 0.7911 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009336/1.469, allocations: 256.1 kB / 0.7913 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001551/1.469, allocations: 60.59 kB / 0.7914 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.971e-05/1.469, allocations: 16.56 kB / 0.7914 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008708/1.47, allocations: 1.432 MB / 0.7928 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/1.47, allocations: 15.16 kB / 0.7928 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/1.474, allocations: 4.777 MB / 0.7975 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000664/1.475, allocations: 295.5 kB / 0.7978 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/1.475, allocations: 17.59 kB / 0.7978 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007545/1.476, allocations: 33.28 kB / 0.7978 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.476, allocations: 126.4 kB / 0.7979 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.476, allocations: 61.83 kB / 0.798 GB, free: 130 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001841/1.478, allocations: 1.447 MB / 0.7994 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.478, allocations: 0 / 0.7994 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004193/1.482, allocations: 0.7055 MB / 0.8001 GB, free: 129.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (142): * Single equations (assignments): 135 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.005327/1.487, allocations: 8.138 MB / 0.808 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005537/1.493, allocations: 3.66 MB / 0.8116 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.493, allocations: 0 / 0.8116 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/1.494, allocations: 1.191 MB / 0.8128 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/1.496, allocations: 222.3 kB / 0.813 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/1.513, allocations: 8.179 MB / 0.821 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002879/1.516, allocations: 3.216 MB / 0.8241 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003979/1.52, allocations: 1.816 MB / 0.8259 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/1.523, allocations: 1.703 MB / 0.8275 GB, free: 116 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/1.523, allocations: 3.844 kB / 0.8276 GB, free: 116 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0888/1.611, allocations: 53.67 MB / 0.88 GB, free: 74.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.612, allocations: 139.5 kB / 0.8801 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.386/4.998, allocations: 0 / 0.8801 GB, free: 74.36 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat