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/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.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/ModelicaServices trunk/package.mo): time 0.0009956/0.0009956, allocations: 97.73 kB / 16.99 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001743, allocations: 202.2 kB / 17.9 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 45.93 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 8 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 63.46 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03719/0.1804, allocations: 37.12 MB / 0.5065 GB, free: 32 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.348/0.5285, allocations: 9.509 MB / 0.5158 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01085/0.5394, allocations: 183.9 kB / 0.516 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00905/0.5485, allocations: 1.804 MB / 0.5177 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02938/0.5779, allocations: 5.4 MB / 0.523 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004592/0.5826, allocations: 0.8331 MB / 0.5238 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03762/0.6202, allocations: 25.6 MB / 0.5488 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007073/0.6273, allocations: 4.077 MB / 0.5528 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.6305, allocations: 1.219 MB / 0.554 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/0.6339, allocations: 1.685 MB / 0.5556 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008756/0.6348, allocations: 172 kB / 0.5558 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.638, allocations: 1.054 MB / 0.5568 GB, free: 9.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00226/0.6402, allocations: 1.823 MB / 0.5586 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.6418, allocations: 0.9323 MB / 0.5595 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008799/0.6506, allocations: 6.301 MB / 0.5657 GB, free: 476 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6507, allocations: 0 / 0.5657 GB, free: 476 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.6507, allocations: 0 / 0.5657 GB, free: 476 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002953/0.651, allocations: 0 / 0.5657 GB, free: 476 kB / 398.1 MB 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.01557/0.6666, allocations: 5.194 MB / 0.5707 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.6667, allocations: 8.031 kB / 0.5707 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002993/0.6697, allocations: 0.7969 MB / 0.5715 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08601/0.7557, allocations: 8.475 MB / 0.5798 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009264/0.765, allocations: 3.285 MB / 0.583 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.7653, allocations: 259.1 kB / 0.5832 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.7669, allocations: 345.8 kB / 0.5836 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0269/0.7938, allocations: 12.46 MB / 0.5957 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001793/0.794, allocations: 55.52 kB / 0.5958 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005059/0.7946, allocations: 170.9 kB / 0.596 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004095/0.7987, allocations: 2.376 MB / 0.5983 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02388/0.8226, allocations: 10.87 MB / 0.6089 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06998/0.8926, allocations: 48.93 MB / 0.6567 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01576/0.9084, allocations: 5.949 MB / 0.6625 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02224/0.9307, allocations: 13.13 MB / 0.6753 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.138e-05/0.9308, allocations: 53.08 kB / 0.6754 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=193): time 6.272e-06/0.9308, allocations: 4 kB / 0.6754 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.116/1.047, allocations: 39.55 MB / 0.714 GB, free: 6.176 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/1.047, allocations: 201.9 kB / 0.7142 GB, free: 5.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006806/1.054, allocations: 4.599 MB / 0.7187 GB, free: 1.316 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009202/1.055, allocations: 65.7 kB / 0.7187 GB, free: 1.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.3051/1.36, allocations: 3.419 MB / 0.7221 GB, free: 196.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001769/1.362, allocations: 0.9529 MB / 0.723 GB, free: 195.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006036/1.362, allocations: 137.3 kB / 0.7231 GB, free: 195.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0005681/1.363, allocations: 0.5865 MB / 0.7237 GB, free: 195.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007168/1.37, allocations: 3.093 MB / 0.7267 GB, free: 195.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008424/1.378, allocations: 6.993 MB / 0.7336 GB, free: 188.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009228/1.388, allocations: 4.534 MB / 0.738 GB, free: 187.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002582/1.388, allocations: 39.25 kB / 0.738 GB, free: 187.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03379/1.422, allocations: 12.6 MB / 0.7503 GB, free: 182.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003213/1.422, allocations: 65.5 kB / 0.7504 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004078/1.423, allocations: 140.2 kB / 0.7505 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00934/1.432, allocations: 3.266 MB / 0.7537 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005921/1.438, allocations: 1.541 MB / 0.7552 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02229/1.46, allocations: 16.07 MB / 0.7709 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006946/1.467, allocations: 438.1 kB / 0.7713 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/1.469, allocations: 405 kB / 0.7717 GB, free: 168.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * 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 (808): * Single equations (assignments): 804 * 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.006049/1.475, allocations: 2.347 MB / 0.774 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/1.477, allocations: 406.7 kB / 0.7744 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/1.492, allocations: 7.51 MB / 0.7817 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.408e-05/1.492, allocations: 28.62 kB / 0.7818 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.879e-05/1.492, allocations: 8 kB / 0.7818 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.391e-05/1.492, allocations: 15.95 kB / 0.7818 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03076/1.523, allocations: 15.19 MB / 0.7966 GB, free: 143 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.884e-05/1.523, allocations: 7.953 kB / 0.7966 GB, free: 143 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/1.525, allocations: 383.4 kB / 0.797 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008142/1.533, allocations: 2.936 MB / 0.7999 GB, free: 139.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008009/1.534, allocations: 40 kB / 0.7999 GB, free: 139.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01844/1.552, allocations: 14.3 MB / 0.8139 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.552, allocations: 4 kB / 0.8139 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/1.57, allocations: 11.54 MB / 0.8251 GB, free: 113.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.572, allocations: 463.7 kB / 0.8256 GB, free: 113.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/1.573, allocations: 41.02 kB / 0.8256 GB, free: 113.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002842/1.576, allocations: 191.7 kB / 0.8258 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000739/1.577, allocations: 143.4 kB / 0.8259 GB, free: 112.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003918/1.577, allocations: 71.97 kB / 0.826 GB, free: 112.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005002/1.582, allocations: 2.911 MB / 0.8288 GB, free: 109.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/1.582, allocations: 0 / 0.8288 GB, free: 109.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006991/1.589, allocations: 1.331 MB / 0.8301 GB, free: 108.4 MB / 0.545 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.01717/1.606, allocations: 12.38 MB / 0.8422 GB, free: 95.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01348/1.62, allocations: 7.794 MB / 0.8498 GB, free: 88.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.62, allocations: 8 kB / 0.8498 GB, free: 88.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004647/1.624, allocations: 3.105 MB / 0.8529 GB, free: 85.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/1.627, allocations: 461.7 kB / 0.8533 GB, free: 84.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.353/1.98, allocations: 140.4 MB / 0.9905 GB, free: 142 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003484/1.984, allocations: 3.765 MB / 0.9941 GB, free: 140.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00474/1.989, allocations: 2.182 MB / 0.9963 GB, free: 140.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002535/1.991, allocations: 2.222 MB / 0.9984 GB, free: 138.8 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/1.991, allocations: 0 / 0.9984 GB, free: 138.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.141/2.132, allocations: 102.3 MB / 1.098 GB, free: 41.27 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/2.133, allocations: 203.2 kB / 1.099 GB, free: 41.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.639/6.771, allocations: 4 kB / 1.099 GB, free: 41.02 MB / 0.545 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