Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.0006683/0.0006683, allocations: 97.86 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007569/0.000757, allocations: 188.3 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2299/0.2299, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005072, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3372/0.4763, allocations: 56.54 MB / 0.5158 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03893/0.5153, allocations: 12.3 MB / 0.5278 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01818/0.5335, allocations: 281.9 kB / 0.5281 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01277/0.5463, allocations: 2.938 MB / 0.5309 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03329/0.5797, allocations: 8.717 MB / 0.5395 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005756/0.5855, allocations: 0.9125 MB / 0.5404 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08819/0.6737, allocations: 62.3 MB / 0.6012 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01123/0.685, allocations: 5.553 MB / 0.6066 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004924/0.69, allocations: 1.635 MB / 0.6082 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005608/0.6956, allocations: 2.551 MB / 0.6107 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001608/0.6972, allocations: 176 kB / 0.6109 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.7013, allocations: 1.088 MB / 0.6119 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003989/0.7053, allocations: 2.158 MB / 0.614 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002579/0.7079, allocations: 1.03 MB / 0.615 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.7184, allocations: 6.901 MB / 0.6218 GB, free: 10.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.7185, allocations: 0 / 0.6218 GB, free: 10.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7185, allocations: 0 / 0.6218 GB, free: 10.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003764/0.7189, allocations: 0 / 0.6218 GB, free: 10.77 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01608/0.735, allocations: 5.381 MB / 0.627 GB, free: 5.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.7351, allocations: 16.03 kB / 0.6271 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004187/0.7392, allocations: 0.9156 MB / 0.628 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0346/0.7739, allocations: 6.101 MB / 0.6339 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.7859, allocations: 4.781 MB / 0.6386 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000396/0.7864, allocations: 295.3 kB / 0.6389 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.7884, allocations: 391.5 kB / 0.6392 GB, free: 8.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03199/0.8204, allocations: 11.9 MB / 0.6509 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000446/0.8209, allocations: 59.48 kB / 0.6509 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00272/0.8237, allocations: 179.8 kB / 0.6511 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004448/0.8281, allocations: 2.14 MB / 0.6532 GB, free: 9.684 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02406/0.8522, allocations: 10.14 MB / 0.6631 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3776/1.23, allocations: 47.26 MB / 0.7092 GB, free: 184 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01536/1.245, allocations: 5.771 MB / 0.7149 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004784/1.25, allocations: 2.923 MB / 0.7177 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01714/1.267, allocations: 8.759 MB / 0.7263 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.964e-05/1.267, allocations: 59 kB / 0.7263 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 7.664e-06/1.267, allocations: 0 / 0.7263 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.1094/1.377, allocations: 34.8 MB / 0.7603 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/1.377, allocations: 213.9 kB / 0.7605 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008552/1.386, allocations: 4.765 MB / 0.7652 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007638/1.386, allocations: 65.7 kB / 0.7652 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002683/1.389, allocations: 3.591 MB / 0.7687 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001508/1.391, allocations: 0.9671 MB / 0.7697 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008217/1.391, allocations: 137 kB / 0.7698 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004962/1.392, allocations: 0.5865 MB / 0.7704 GB, free: 148 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004152/1.396, allocations: 3.007 MB / 0.7733 GB, free: 145 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005784/1.402, allocations: 6.813 MB / 0.78 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005871/1.408, allocations: 4.419 MB / 0.7843 GB, free: 132 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/1.408, allocations: 40 kB / 0.7843 GB, free: 132 MB / 0.5294 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02394/1.432, allocations: 13.17 MB / 0.7972 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/1.432, allocations: 60 kB / 0.7972 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002239/1.432, allocations: 132 kB / 0.7974 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01048/1.443, allocations: 4.25 MB / 0.8015 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004489/1.447, allocations: 1.419 MB / 0.8029 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03188/1.479, allocations: 26.36 MB / 0.8287 GB, free: 86.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005833/1.485, allocations: 403.3 kB / 0.829 GB, free: 85.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.486, allocations: 400.7 kB / 0.8294 GB, free: 85.42 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (756): * Single equations (assignments): 750 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.004951/1.491, allocations: 2.472 MB / 0.8318 GB, free: 82.94 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.493, allocations: 442.3 kB / 0.8323 GB, free: 82.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/1.508, allocations: 8.222 MB / 0.8403 GB, free: 74.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.914e-05/1.508, allocations: 28.47 kB / 0.8403 GB, free: 74.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.713e-05/1.508, allocations: 12 kB / 0.8403 GB, free: 74.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-05/1.508, allocations: 11.95 kB / 0.8403 GB, free: 74.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03326/1.541, allocations: 16.85 MB / 0.8568 GB, free: 57.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.591e-05/1.541, allocations: 4 kB / 0.8568 GB, free: 57.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.543, allocations: 307.4 kB / 0.8571 GB, free: 56.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009724/1.553, allocations: 3.937 MB / 0.8609 GB, free: 52.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006179/1.554, allocations: 50.42 kB / 0.861 GB, free: 52.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0318/1.585, allocations: 25.18 MB / 0.8856 GB, free: 27.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.585, allocations: 7.938 kB / 0.8856 GB, free: 27.33 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01945/1.605, allocations: 12.08 MB / 0.8974 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.606, allocations: 0.4913 MB / 0.8979 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.608, allocations: 47.98 kB / 0.8979 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/1.61, allocations: 176.6 kB / 0.8981 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008863/1.611, allocations: 182.1 kB / 0.8982 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003524/1.612, allocations: 77.62 kB / 0.8983 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006027/1.618, allocations: 3.012 MB / 0.9013 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.81e-07/1.618, allocations: 0 / 0.9013 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008948/1.627, allocations: 1.423 MB / 0.9026 GB, free: 9.703 MB / 0.5294 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 (158): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.3429/1.97, allocations: 12.75 MB / 0.9151 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01451/1.984, allocations: 8.118 MB / 0.923 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.984, allocations: 3.938 kB / 0.923 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005239/1.989, allocations: 3.508 MB / 0.9265 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/1.994, allocations: 0.6025 MB / 0.927 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09353/2.087, allocations: 49.76 MB / 0.9756 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007396/2.095, allocations: 3.927 MB / 0.9795 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006174/2.101, allocations: 2.004 MB / 0.9814 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003824/2.105, allocations: 2.366 MB / 0.9837 GB, free: 119 MB / 0.5294 GB Notification: Performance of SimCode: time 8.71e-07/2.105, allocations: 0 / 0.9837 GB, free: 119 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1677/2.273, allocations: 117.7 MB / 1.099 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/2.273, allocations: 240.6 kB / 1.099 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.707/6.98, allocations: 4 kB / 1.099 GB, free: 1.586 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat