Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008087/0.0008088, allocations: 98.55 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008497/0.0008497, allocations: 196.5 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.3 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 45.91 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.000269, allocations: 11.98 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1347, allocations: 63.47 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.3009/0.4356, allocations: 37.45 MB / 0.5069 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0241/0.4597, allocations: 8.39 MB / 0.5151 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00877/0.4686, allocations: 171.9 kB / 0.5153 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007435/0.476, allocations: 1.862 MB / 0.5171 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01963/0.4957, allocations: 5.564 MB / 0.5225 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.499, allocations: 479.2 kB / 0.523 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008658/0.5077, allocations: 4.461 MB / 0.5273 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007291/0.5151, allocations: 3.176 MB / 0.5304 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003859/0.519, allocations: 1.188 MB / 0.5316 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.5231, allocations: 1.898 MB / 0.5335 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009342/0.5241, allocations: 152.8 kB / 0.5336 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.5266, allocations: 0.77 MB / 0.5344 GB, free: 5.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002045/0.5287, allocations: 1.671 MB / 0.536 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.5303, allocations: 0.8749 MB / 0.5368 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007012/0.5373, allocations: 5.597 MB / 0.5423 GB, free: 1.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.5373, allocations: 3.328 kB / 0.5423 GB, free: 1.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.5373, allocations: 4 kB / 0.5423 GB, free: 1.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002878/0.5376, allocations: 0 / 0.5423 GB, free: 1.312 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.009829/0.5475, allocations: 4.077 MB / 0.5463 GB, free: 14.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.5475, allocations: 13.92 kB / 0.5463 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002673/0.5502, allocations: 0.8168 MB / 0.5471 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.5615, allocations: 3.239 MB / 0.5503 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006653/0.5682, allocations: 2.35 MB / 0.5526 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.5686, allocations: 240.1 kB / 0.5528 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001895/0.5705, allocations: 308.8 kB / 0.5531 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02719/0.5977, allocations: 12.07 MB / 0.5649 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001987/0.5979, allocations: 35.66 kB / 0.5649 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001325/0.5993, allocations: 143.5 kB / 0.5651 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00551/0.6048, allocations: 2.841 MB / 0.5678 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.6311, allocations: 11.31 MB / 0.5789 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07403/0.7052, allocations: 41.27 MB / 0.6192 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.7183, allocations: 6.063 MB / 0.6251 GB, free: 76 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00508/0.7234, allocations: 3.009 MB / 0.628 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00224/0.7257, allocations: 1.886 MB / 0.6299 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.7258, allocations: 56.56 kB / 0.6299 GB, free: 10.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 1.009e-05/0.7258, allocations: 0 / 0.6299 GB, free: 10.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05569/0.7815, allocations: 20.07 MB / 0.6495 GB, free: 6.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.7816, allocations: 77.41 kB / 0.6496 GB, free: 6.484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006057/0.7877, allocations: 3.024 MB / 0.6525 GB, free: 3.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007127/0.7885, allocations: 64.59 kB / 0.6526 GB, free: 3.379 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00242/0.7909, allocations: 2.984 MB / 0.6555 GB, free: 416 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001692/0.7926, allocations: 1.018 MB / 0.6565 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007629/0.7934, allocations: 120 kB / 0.6566 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0005525/0.794, allocations: 0.5621 MB / 0.6572 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005368/0.7993, allocations: 2.823 MB / 0.6599 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009053/0.8084, allocations: 5.998 MB / 0.6658 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007355/0.8158, allocations: 4.088 MB / 0.6698 GB, free: 252 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001217/0.816, allocations: 32 kB / 0.6698 GB, free: 220 kB / 0.4981 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.0218/0.8378, allocations: 9.974 MB / 0.6796 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.838, allocations: 55.95 kB / 0.6796 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002237/0.8382, allocations: 112 kB / 0.6797 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/0.8422, allocations: 1.368 MB / 0.6811 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00531/0.8475, allocations: 1.365 MB / 0.6824 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.8588, allocations: 7.462 MB / 0.6897 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00498/0.8638, allocations: 371.6 kB / 0.69 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/0.8654, allocations: 358.4 kB / 0.6904 GB, free: 11.02 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 711 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005914/0.8713, allocations: 2.295 MB / 0.6926 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/0.8723, allocations: 300.1 kB / 0.6929 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.8855, allocations: 6.608 MB / 0.6994 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.53e-05/0.8856, allocations: 55.92 kB / 0.6994 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.8856, allocations: 4 kB / 0.6994 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/0.8857, allocations: 15.91 kB / 0.6994 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0303/0.916, allocations: 13.98 MB / 0.7131 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-05/0.9161, allocations: 11.95 kB / 0.7131 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/0.9184, allocations: 455.3 kB / 0.7135 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003363/0.9218, allocations: 1.213 MB / 0.7147 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006475/0.9225, allocations: 48 kB / 0.7147 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2734/1.196, allocations: 6.505 MB / 0.7211 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-05/1.196, allocations: 16.31 kB / 0.7211 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01688/1.213, allocations: 9.83 MB / 0.7307 GB, free: 187.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009464/1.214, allocations: 354 kB / 0.7311 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000645/1.214, allocations: 47.67 kB / 0.7311 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.216, allocations: 194.2 kB / 0.7313 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004776/1.217, allocations: 167.2 kB / 0.7314 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000211/1.217, allocations: 76.27 kB / 0.7315 GB, free: 186.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003192/1.22, allocations: 1.846 MB / 0.7333 GB, free: 186.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/1.22, allocations: 0 / 0.7333 GB, free: 186.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005868/1.226, allocations: 1.133 MB / 0.7344 GB, free: 186.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * 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 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01307/1.239, allocations: 10.49 MB / 0.7447 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008823/1.248, allocations: 6.855 MB / 0.7514 GB, free: 179.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/1.248, allocations: 6.672 kB / 0.7514 GB, free: 179.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003841/1.252, allocations: 2.851 MB / 0.7542 GB, free: 178.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/1.254, allocations: 391.7 kB / 0.7545 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05166/1.306, allocations: 36.29 MB / 0.79 GB, free: 141.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003833/1.31, allocations: 3.581 MB / 0.7935 GB, free: 138.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004583/1.314, allocations: 2.2 MB / 0.7956 GB, free: 136.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002704/1.317, allocations: 2.073 MB / 0.7976 GB, free: 134.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.317, allocations: 0 / 0.7976 GB, free: 134.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1341/1.451, allocations: 79.15 MB / 0.8749 GB, free: 55.26 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/1.451, allocations: 203.4 kB / 0.8751 GB, free: 55.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.111/5.562, allocations: 3.938 kB / 0.8751 GB, free: 55.01 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat