Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000787/0.0007872, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 174.3 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3797/0.3797, allocations: 43.55 MB / 314.6 MB, free: 9.004 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005173/0.0005174, allocations: 14.97 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1206, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2753/0.396, allocations: 39.36 MB / 482.2 MB, free: 27.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0211/0.4171, allocations: 9.11 MB / 491.3 MB, free: 21.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01081/0.428, allocations: 189.3 kB / 491.5 MB, free: 21.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007189/0.4352, allocations: 2.013 MB / 493.5 MB, free: 20.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01968/0.455, allocations: 6.164 MB / 499.7 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004201/0.4592, allocations: 0.8568 MB / 0.4888 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03256/0.4918, allocations: 19.83 MB / 0.5082 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006583/0.4984, allocations: 4.119 MB / 0.5122 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003229/0.5016, allocations: 1.481 MB / 0.5137 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/0.505, allocations: 2.352 MB / 0.516 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006096/0.5057, allocations: 172 kB / 0.5161 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.5078, allocations: 1.084 MB / 0.5172 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.5093, allocations: 1.964 MB / 0.5191 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009165/0.5102, allocations: 0.9323 MB / 0.52 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006808/0.517, allocations: 6.328 MB / 0.5262 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.517, allocations: 4 kB / 0.5262 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.517, allocations: 0 / 0.5262 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002914/0.5173, allocations: 0 / 0.5262 GB, free: 11.1 MB / 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.01272/0.5301, allocations: 4.991 MB / 0.5311 GB, free: 6.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.5301, allocations: 8.031 kB / 0.5311 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002381/0.5325, allocations: 0.8022 MB / 0.5319 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06719/0.5997, allocations: 7.406 MB / 0.5391 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009053/0.6088, allocations: 4.004 MB / 0.543 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.6092, allocations: 258.4 kB / 0.5433 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.6106, allocations: 351.7 kB / 0.5436 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02244/0.6331, allocations: 12.29 MB / 0.5556 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/0.6333, allocations: 47.59 kB / 0.5556 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000487/0.6338, allocations: 163.8 kB / 0.5558 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003817/0.6376, allocations: 2.385 MB / 0.5581 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02148/0.6591, allocations: 10.68 MB / 0.5685 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06343/0.7225, allocations: 48.81 MB / 0.6162 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01435/0.737, allocations: 5.857 MB / 0.6219 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003956/0.741, allocations: 3.103 MB / 0.625 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2897/1.031, allocations: 13.01 MB / 0.6377 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/1.031, allocations: 56.78 kB / 0.6377 GB, free: 139.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 8.726e-06/1.031, allocations: 3.969 kB / 0.6377 GB, free: 139.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.1071/1.138, allocations: 38.99 MB / 0.6758 GB, free: 128.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/1.138, allocations: 206.3 kB / 0.676 GB, free: 128.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005835/1.144, allocations: 4.401 MB / 0.6803 GB, free: 126.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005531/1.144, allocations: 65.17 kB / 0.6804 GB, free: 126.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001829/1.146, allocations: 3.432 MB / 0.6837 GB, free: 124.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.147, allocations: 0.9478 MB / 0.6846 GB, free: 123.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/1.148, allocations: 137.6 kB / 0.6848 GB, free: 123.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003116/1.148, allocations: 0.5921 MB / 0.6853 GB, free: 122.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/1.152, allocations: 3.089 MB / 0.6884 GB, free: 121.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005053/1.157, allocations: 7.021 MB / 0.6952 GB, free: 112.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005295/1.162, allocations: 4.521 MB / 0.6996 GB, free: 107.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-05/1.162, allocations: 40 kB / 0.6997 GB, free: 107.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02026/1.182, allocations: 12.6 MB / 0.712 GB, free: 95.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/1.183, allocations: 70.91 kB / 0.712 GB, free: 94.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.475e-05/1.183, allocations: 140 kB / 0.7122 GB, free: 94.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007429/1.19, allocations: 3.268 MB / 0.7154 GB, free: 91.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004497/1.195, allocations: 1.536 MB / 0.7169 GB, free: 90.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/1.212, allocations: 15.51 MB / 0.732 GB, free: 74.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006138/1.219, allocations: 440.4 kB / 0.7324 GB, free: 73.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001259/1.22, allocations: 408 kB / 0.7328 GB, free: 73.56 MB / 494.1 MB 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.004895/1.225, allocations: 2.343 MB / 0.7351 GB, free: 71.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009991/1.226, allocations: 410.7 kB / 0.7355 GB, free: 70.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.239, allocations: 7.515 MB / 0.7428 GB, free: 63.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.436e-05/1.239, allocations: 28 kB / 0.7429 GB, free: 63.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/1.239, allocations: 12 kB / 0.7429 GB, free: 63.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.008e-05/1.239, allocations: 11.95 kB / 0.7429 GB, free: 63.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/1.263, allocations: 15.19 MB / 0.7577 GB, free: 48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/1.263, allocations: 3.953 kB / 0.7577 GB, free: 48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.265, allocations: 391.4 kB / 0.7581 GB, free: 47.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007019/1.272, allocations: 2.927 MB / 0.761 GB, free: 44.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/1.272, allocations: 45.86 kB / 0.761 GB, free: 44.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/1.288, allocations: 13.73 MB / 0.7744 GB, free: 30.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.288, allocations: 4 kB / 0.7744 GB, free: 30.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/1.306, allocations: 11.46 MB / 0.7856 GB, free: 19.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002979/1.309, allocations: 0.929 MB / 0.7865 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000997/1.31, allocations: 43.94 kB / 0.7866 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/1.312, allocations: 192.6 kB / 0.7867 GB, free: 18.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004548/1.313, allocations: 149.8 kB / 0.7869 GB, free: 17.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/1.313, allocations: 63.98 kB / 0.7869 GB, free: 17.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00375/1.317, allocations: 2.747 MB / 0.7896 GB, free: 15.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.31e-07/1.317, allocations: 0 / 0.7896 GB, free: 15.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006097/1.323, allocations: 1.314 MB / 0.7909 GB, free: 13.79 MB / 494.1 MB 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.01641/1.339, allocations: 12.13 MB / 0.8027 GB, free: 1.578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01184/1.351, allocations: 7.787 MB / 0.8104 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.351, allocations: 0 / 0.8104 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.236/1.587, allocations: 3.118 MB / 0.8134 GB, free: 149.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004256/1.591, allocations: 0.489 MB / 0.8139 GB, free: 149.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08675/1.678, allocations: 45.97 MB / 0.8588 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006081/1.684, allocations: 3.671 MB / 0.8624 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00689/1.691, allocations: 2.178 MB / 0.8645 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003762/1.695, allocations: 2.226 MB / 0.8667 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.333e-06/1.695, allocations: 0 / 0.8667 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/1.828, allocations: 101.8 MB / 0.9661 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.828, allocations: 199.9 kB / 0.9663 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.085/5.913, allocations: 3.938 kB / 0.9663 GB, free: 30.11 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat