Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 202.7 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009476/0.0009474, allocations: 90.3 kB / 297.2 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4616/0.4616, allocations: 45.23 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 12.2 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4505, allocations: 63.24 MB / 0.5193 GB, free: 43.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.6144, allocations: 111.1 MB / 0.6278 GB, free: 10.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.6147, allocations: 79.94 kB / 0.6279 GB, free: 10.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5895/1.204, allocations: 102.6 MB / 0.7281 GB, free: 98.42 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.685e-06/1.204, allocations: 0 / 0.7281 GB, free: 98.42 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003165/1.205, allocations: 96.38 kB / 0.7282 GB, free: 98.41 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02118/1.226, allocations: 5.502 MB / 0.7335 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/1.226, allocations: 11.09 kB / 0.7336 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00432/1.23, allocations: 0.8455 MB / 0.7344 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01974/1.25, allocations: 4.609 MB / 0.7389 GB, free: 95.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/1.266, allocations: 5.152 MB / 0.7439 GB, free: 95.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004648/1.267, allocations: 347.6 kB / 0.7442 GB, free: 95.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002535/1.27, allocations: 467 kB / 0.7447 GB, free: 95.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02751/1.297, allocations: 12.73 MB / 0.7571 GB, free: 90.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002492/1.297, allocations: 63.09 kB / 0.7572 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009334/1.298, allocations: 230 kB / 0.7574 GB, free: 90.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00165/1.3, allocations: 1.267 MB / 0.7586 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02189/1.322, allocations: 10.95 MB / 0.7693 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06654/1.388, allocations: 55.82 MB / 0.8238 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01536/1.404, allocations: 5.954 MB / 0.8297 GB, free: 39.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01866/1.423, allocations: 13.04 MB / 0.8424 GB, free: 26.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/1.423, allocations: 55.88 kB / 0.8424 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 7.043e-06/1.423, allocations: 0 / 0.8424 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.09521/1.518, allocations: 36.06 MB / 0.8777 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/1.518, allocations: 210 kB / 0.8779 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007399/1.526, allocations: 3.895 MB / 0.8817 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007857/1.526, allocations: 61.7 kB / 0.8817 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003167/1.53, allocations: 3.432 MB / 0.8851 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00184/1.531, allocations: 0.9514 MB / 0.886 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004536/1.532, allocations: 132 kB / 0.8861 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004598/1.532, allocations: 0.5952 MB / 0.8867 GB, free: 13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004964/1.537, allocations: 3.078 MB / 0.8897 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00755/1.545, allocations: 6.98 MB / 0.8965 GB, free: 1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3782/1.923, allocations: 4.524 MB / 0.901 GB, free: 118 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000176/1.923, allocations: 43.2 kB / 0.901 GB, free: 118 MB / 0.5261 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.03983/1.963, allocations: 12.58 MB / 0.9133 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/1.963, allocations: 67.05 kB / 0.9133 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002359/1.964, allocations: 137.2 kB / 0.9135 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01367/1.977, allocations: 3.224 MB / 0.9166 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009271/1.987, allocations: 1.558 MB / 0.9181 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03578/2.022, allocations: 15.52 MB / 0.9333 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/2.033, allocations: 477.8 kB / 0.9338 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/2.035, allocations: 407.5 kB / 0.9341 GB, free: 112.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 805 * Array equations: 3 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007915/2.043, allocations: 2.344 MB / 0.9364 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/2.044, allocations: 409.2 kB / 0.9368 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01969/2.064, allocations: 7.419 MB / 0.9441 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.209e-05/2.064, allocations: 30.94 kB / 0.9441 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/2.064, allocations: 7.75 kB / 0.9441 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.018e-05/2.064, allocations: 15.22 kB / 0.9441 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03638/2.101, allocations: 15.02 MB / 0.9588 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-05/2.101, allocations: 11.41 kB / 0.9588 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/2.104, allocations: 378.9 kB / 0.9592 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01149/2.115, allocations: 2.876 MB / 0.962 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007229/2.116, allocations: 43.05 kB / 0.962 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02331/2.139, allocations: 13.85 MB / 0.9755 GB, free: 97.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.139, allocations: 0 / 0.9755 GB, free: 97.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/2.158, allocations: 11.41 MB / 0.9867 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/2.16, allocations: 449 kB / 0.9871 GB, free: 93.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007764/2.161, allocations: 43.67 kB / 0.9871 GB, free: 93.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/2.163, allocations: 206.9 kB / 0.9873 GB, free: 92.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005508/2.163, allocations: 152.4 kB / 0.9875 GB, free: 92.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002098/2.164, allocations: 59.22 kB / 0.9875 GB, free: 92.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004746/2.168, allocations: 2.729 MB / 0.9902 GB, free: 91.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/2.168, allocations: 0 / 0.9902 GB, free: 91.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006761/2.175, allocations: 1.317 MB / 0.9915 GB, free: 90.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01837/2.193, allocations: 12.23 MB / 1.003 GB, free: 79.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01327/2.207, allocations: 7.784 MB / 1.011 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/2.207, allocations: 2.953 kB / 1.011 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00452/2.211, allocations: 3.074 MB / 1.014 GB, free: 70.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/2.214, allocations: 469.4 kB / 1.014 GB, free: 69.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.413/2.627, allocations: 139.8 MB / 1.151 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00493/2.632, allocations: 3.759 MB / 1.155 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006827/2.639, allocations: 2.186 MB / 1.157 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003829/2.643, allocations: 2.214 MB / 1.159 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of SimCode: time 2.335e-06/2.643, allocations: 1.375 kB / 1.159 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/2.794, allocations: 101.2 MB / 1.258 GB, free: 64.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/2.795, allocations: 192.5 kB / 1.258 GB, free: 64.44 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.099/7.894, allocations: 4.062 kB / 1.258 GB, free: 64.43 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat