Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",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.0008214/0.0008215, 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.0008862/0.0008865, allocations: 175.8 kB / 16.58 MB, free: 6.844 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.426/1.426, allocations: 205.4 MB / 222.7 MB, free: 5.879 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.3775/0.3775, allocations: 43.55 MB / 314.6 MB, free: 8.68 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.000473/0.0004731, allocations: 16 kB / 384 MB, free: 7.965 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 58.85 MB / 442.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.2925/0.4148, allocations: 48.46 MB / 491.3 MB, free: 20.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02631/0.4411, allocations: 10.65 MB / 0.4902 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01172/0.4529, allocations: 228.7 kB / 0.4904 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00835/0.4613, allocations: 2.511 MB / 0.4929 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02313/0.4845, allocations: 7.591 MB / 0.5003 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004237/0.4887, allocations: 0.8613 MB / 0.5011 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05093/0.5397, allocations: 36.62 MB / 0.5369 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009738/0.5495, allocations: 5.118 MB / 0.5419 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004982/0.5545, allocations: 1.899 MB / 0.5438 GB, free: 8.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005938/0.5605, allocations: 3.143 MB / 0.5468 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00197/0.5625, allocations: 236 kB / 0.547 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004407/0.5669, allocations: 1.112 MB / 0.5481 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004728/0.5717, allocations: 2.583 MB / 0.5507 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003092/0.5748, allocations: 1.205 MB / 0.5518 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.5868, allocations: 8.129 MB / 0.5598 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.5868, allocations: 0 / 0.5598 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5868, allocations: 0 / 0.5598 GB, free: 8.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004644/0.5873, allocations: 0 / 0.5598 GB, free: 8.375 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01847/0.6058, allocations: 6.349 MB / 0.566 GB, free: 1.945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.6059, allocations: 15.97 kB / 0.566 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004105/0.61, allocations: 1.14 MB / 0.5671 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03796/0.648, allocations: 7.593 MB / 0.5745 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.6585, allocations: 5.093 MB / 0.5795 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/0.6589, allocations: 320 kB / 0.5798 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.6609, allocations: 443.5 kB / 0.5802 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03041/0.6913, allocations: 15.61 MB / 0.5955 GB, free: 2.719 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003084/0.6917, allocations: 63.45 kB / 0.5955 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0018/0.6935, allocations: 203.8 kB / 0.5957 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005076/0.6986, allocations: 3.216 MB / 0.5989 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02939/0.728, allocations: 13.91 MB / 0.6124 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3645/1.093, allocations: 57.4 MB / 0.6685 GB, free: 100.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/1.105, allocations: 6.5 MB / 0.6748 GB, free: 97.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005449/1.11, allocations: 3.624 MB / 0.6784 GB, free: 96.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02818/1.139, allocations: 14.45 MB / 0.6925 GB, free: 88.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/1.139, allocations: 69.47 kB / 0.6926 GB, free: 88.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=289): time 5.751e-06/1.139, allocations: 3.938 kB / 0.6926 GB, free: 88.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.1301/1.269, allocations: 42.12 MB / 0.7337 GB, free: 67.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/1.269, allocations: 214 kB / 0.7339 GB, free: 67.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007037/1.276, allocations: 5.484 MB / 0.7392 GB, free: 62.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008769/1.277, allocations: 73.7 kB / 0.7393 GB, free: 62.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002379/1.279, allocations: 4.417 MB / 0.7436 GB, free: 57.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001957/1.281, allocations: 1.258 MB / 0.7449 GB, free: 56.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005287/1.282, allocations: 172 kB / 0.745 GB, free: 56.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003929/1.282, allocations: 0.6819 MB / 0.7457 GB, free: 55.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005844/1.288, allocations: 4.608 MB / 0.7502 GB, free: 51.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008337/1.297, allocations: 9.586 MB / 0.7596 GB, free: 39.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009049/1.306, allocations: 6.485 MB / 0.7659 GB, free: 32.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.306, allocations: 48 kB / 0.7659 GB, free: 32.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.04212/1.348, allocations: 18.96 MB / 0.7844 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002879/1.348, allocations: 76 kB / 0.7845 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003676/1.349, allocations: 172 kB / 0.7847 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01903/1.368, allocations: 5.831 MB / 0.7904 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007423/1.375, allocations: 2.07 MB / 0.7924 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0338/1.409, allocations: 24.28 MB / 0.8161 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008969/1.418, allocations: 0.5538 MB / 0.8166 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002223/1.42, allocations: 0.5032 MB / 0.8171 GB, free: 11.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1050 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008663/1.429, allocations: 3.104 MB / 0.8202 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001896/1.431, allocations: 0.4936 MB / 0.8207 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3254/1.756, allocations: 12.68 MB / 0.833 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/1.756, allocations: 56.03 kB / 0.8331 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.279e-05/1.756, allocations: 8.5 kB / 0.8331 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.285e-05/1.757, allocations: 15.95 kB / 0.8331 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04949/1.806, allocations: 24.44 MB / 0.857 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.293e-05/1.806, allocations: 5.359 kB / 0.857 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/1.81, allocations: 0.5739 MB / 0.8575 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01768/1.827, allocations: 4.841 MB / 0.8623 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008609/1.828, allocations: 62.2 kB / 0.8623 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/1.856, allocations: 19.56 MB / 0.8814 GB, free: 137.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.856, allocations: 10.72 kB / 0.8814 GB, free: 137.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03161/1.887, allocations: 17.1 MB / 0.8981 GB, free: 127.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003676/1.891, allocations: 1.241 MB / 0.8993 GB, free: 127.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/1.892, allocations: 62.12 kB / 0.8994 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/1.895, allocations: 259.6 kB / 0.8997 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006488/1.896, allocations: 193.2 kB / 0.8998 GB, free: 127 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/1.896, allocations: 89.3 kB / 0.8999 GB, free: 127 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00574/1.902, allocations: 3.412 MB / 0.9033 GB, free: 125.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.91e-07/1.902, allocations: 0 / 0.9033 GB, free: 125.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01017/1.912, allocations: 1.713 MB / 0.9049 GB, free: 123.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03012/1.942, allocations: 17.76 MB / 0.9223 GB, free: 105.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01461/1.957, allocations: 10.61 MB / 0.9326 GB, free: 95.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.957, allocations: 0 / 0.9326 GB, free: 95.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005001/1.962, allocations: 4.04 MB / 0.9366 GB, free: 91.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/1.966, allocations: 0.6274 MB / 0.9372 GB, free: 90.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.11/2.076, allocations: 64.87 MB / 1.001 GB, free: 20.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007326/2.083, allocations: 4.629 MB / 1.005 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007166/2.091, allocations: 2.996 MB / 1.008 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004232/2.095, allocations: 2.924 MB / 1.011 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/2.095, allocations: 0 / 1.011 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5182/2.613, allocations: 136 MB / 1.144 GB, free: 62.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/2.613, allocations: 233 kB / 1.144 GB, free: 62.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.514/7.127, allocations: 0 / 1.144 GB, free: 62.53 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat