Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008134/0.0008134, allocations: 96.03 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009783/0.0009784, allocations: 202.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.167/1.167, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1736/0.1736, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002169/0.0002168, allocations: 11.98 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.08918, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2135/0.3028, allocations: 60.38 MB / 0.5308 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02048/0.3233, allocations: 12.71 MB / 0.5432 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008218/0.3315, allocations: 276.8 kB / 0.5435 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.3327, allocations: 0.4978 MB / 0.544 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.3363, allocations: 2.045 MB / 0.546 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.3379, allocations: 0.9879 MB / 0.5469 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007833/0.3457, allocations: 9.27 MB / 0.556 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007137/0.3529, allocations: 6.281 MB / 0.5621 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.3548, allocations: 1.498 MB / 0.5636 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002791/0.3576, allocations: 2.573 MB / 0.5661 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003197/0.358, allocations: 172 kB / 0.5663 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.3598, allocations: 1.271 MB / 0.5675 GB, free: 204 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.3614, allocations: 2.17 MB / 0.5696 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.3632, allocations: 2.501 MB / 0.5721 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006197/0.3694, allocations: 8.311 MB / 0.5802 GB, free: 3.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3694, allocations: 0 / 0.5802 GB, free: 3.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3694, allocations: 0 / 0.5802 GB, free: 3.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.711e-05/0.3695, allocations: 0 / 0.5802 GB, free: 3.16 MB / 414.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.009424/0.3789, allocations: 5.315 MB / 0.5854 GB, free: 13.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.379, allocations: 8.875 kB / 0.5854 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001048/0.38, allocations: 0.9119 MB / 0.5863 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03549/0.4155, allocations: 6.102 MB / 0.5922 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006973/0.4225, allocations: 4.543 MB / 0.5967 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.4227, allocations: 287.7 kB / 0.5969 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005997/0.4233, allocations: 391.6 kB / 0.5973 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.4391, allocations: 11.93 MB / 0.609 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.4392, allocations: 59.48 kB / 0.609 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004022/0.4396, allocations: 179.8 kB / 0.6092 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002925/0.4425, allocations: 2.147 MB / 0.6113 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.4596, allocations: 10.19 MB / 0.6212 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04898/0.5086, allocations: 47.28 MB / 0.6674 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/0.5223, allocations: 5.788 MB / 0.6731 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/0.5258, allocations: 2.938 MB / 0.6759 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.5375, allocations: 8.752 MB / 0.6845 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.5376, allocations: 55.81 kB / 0.6845 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=206): time 5.239e-06/0.5376, allocations: 4 kB / 0.6845 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=262): time 0.272/0.8097, allocations: 34.76 MB / 0.7185 GB, free: 179 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.654e-05/0.8097, allocations: 209.5 kB / 0.7187 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005705/0.8155, allocations: 4.792 MB / 0.7234 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002654/0.8157, allocations: 63.61 kB / 0.7234 GB, free: 177 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.8173, allocations: 3.595 MB / 0.7269 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005897/0.8179, allocations: 0.9729 MB / 0.7279 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000587/0.8185, allocations: 0.5635 MB / 0.7284 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.092e-05/0.8185, allocations: 304.9 kB / 0.7287 GB, free: 173 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/0.8217, allocations: 3.027 MB / 0.7317 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004013/0.8257, allocations: 6.838 MB / 0.7384 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007698/0.8334, allocations: 10.68 MB / 0.7488 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.13e-05/0.8335, allocations: 39.25 kB / 0.7488 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.01879/0.8523, allocations: 13.21 MB / 0.7617 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.8524, allocations: 60 kB / 0.7618 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/0.8525, allocations: 139.9 kB / 0.7619 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009781/0.8623, allocations: 4.233 MB / 0.766 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.8655, allocations: 1.415 MB / 0.7674 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02715/0.8926, allocations: 26.4 MB / 0.7932 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/0.8967, allocations: 403.4 kB / 0.7936 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/0.8972, allocations: 397.4 kB / 0.794 GB, free: 113 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.002754/0.8999, allocations: 2.476 MB / 0.7964 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006832/0.9006, allocations: 442.3 kB / 0.7968 GB, free: 110 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/0.9144, allocations: 8.23 MB / 0.8049 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.9145, allocations: 28 kB / 0.8049 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/0.9145, allocations: 16 kB / 0.8049 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.9145, allocations: 11.95 kB / 0.8049 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02327/0.9378, allocations: 16.87 MB / 0.8214 GB, free: 84.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.9378, allocations: 8 kB / 0.8214 GB, free: 84.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.939, allocations: 295.6 kB / 0.8217 GB, free: 84.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00934/0.9483, allocations: 3.948 MB / 0.8255 GB, free: 80.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/0.9485, allocations: 44 kB / 0.8256 GB, free: 80.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02588/0.9744, allocations: 25.2 MB / 0.8502 GB, free: 54.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9744, allocations: 11.94 kB / 0.8502 GB, free: 54.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/0.9909, allocations: 12.11 MB / 0.862 GB, free: 42.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009302/0.9918, allocations: 0.4958 MB / 0.8625 GB, free: 42.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006917/0.9925, allocations: 46.75 kB / 0.8626 GB, free: 42.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/0.9946, allocations: 171.8 kB / 0.8627 GB, free: 41.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/0.9951, allocations: 194 kB / 0.8629 GB, free: 41.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/0.9952, allocations: 78.05 kB / 0.863 GB, free: 41.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003411/0.9987, allocations: 3.035 MB / 0.8659 GB, free: 38.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9987, allocations: 0 / 0.8659 GB, free: 38.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004572/1.003, allocations: 1.409 MB / 0.8673 GB, free: 37.18 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01651/1.02, allocations: 12.78 MB / 0.8798 GB, free: 24.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009727/1.029, allocations: 8.156 MB / 0.8878 GB, free: 16.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.03, allocations: 4 kB / 0.8878 GB, free: 16.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004252/1.034, allocations: 3.529 MB / 0.8912 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005469/1.039, allocations: 0.5905 MB / 0.8918 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2578/1.297, allocations: 75.97 MB / 0.966 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/1.3, allocations: 3.915 MB / 0.9698 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003624/1.304, allocations: 2.011 MB / 0.9718 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/1.305, allocations: 2.362 MB / 0.9741 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of SimCode: time 9.01e-07/1.305, allocations: 3.938 kB / 0.9741 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/1.41, allocations: 111.8 MB / 1.083 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/1.41, allocations: 261.7 kB / 1.084 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.581/4.991, allocations: 0 / 1.084 GB, free: 2.781 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches