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.001504/0.001504, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002542/0.002543, allocations: 77.47 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1516, allocations: 62.44 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2976/0.4492, allocations: 61.94 MB / 0.5286 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03359/0.4829, allocations: 12.77 MB / 0.5411 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01484/0.4977, allocations: 279.4 kB / 0.5414 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007265/0.5051, allocations: 3.727 MB / 0.545 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006696/0.5118, allocations: 2.034 MB / 0.547 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.5146, allocations: 0.9893 MB / 0.548 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0124/0.527, allocations: 9.257 MB / 0.557 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007384/0.5344, allocations: 4.426 MB / 0.5613 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004379/0.5388, allocations: 1.794 MB / 0.5631 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004987/0.5438, allocations: 2.94 MB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.5453, allocations: 296 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.5489, allocations: 1.389 MB / 0.5676 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003324/0.5522, allocations: 2.345 MB / 0.5699 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005214/0.5575, allocations: 2.699 MB / 0.5725 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.5684, allocations: 8.548 MB / 0.5809 GB, free: 15.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5684, allocations: 0 / 0.5809 GB, free: 15.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5684, allocations: 0 / 0.5809 GB, free: 15.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003401/0.5688, allocations: 0 / 0.5809 GB, free: 15.37 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01969/0.5885, allocations: 6.437 MB / 0.5871 GB, free: 8.863 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.5885, allocations: 12.88 kB / 0.5872 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0026/0.5911, allocations: 0.9081 MB / 0.588 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03691/0.6281, allocations: 6.02 MB / 0.5939 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.6392, allocations: 4.551 MB / 0.5984 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/0.6396, allocations: 283.7 kB / 0.5986 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/0.6412, allocations: 391.6 kB / 0.599 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02604/0.6672, allocations: 11.91 MB / 0.6106 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003321/0.6676, allocations: 55.5 kB / 0.6107 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001642/0.6693, allocations: 183.9 kB / 0.6109 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003746/0.673, allocations: 2.147 MB / 0.613 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02397/0.697, allocations: 10.16 MB / 0.6229 GB, free: 3.371 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0718/0.7689, allocations: 47.27 MB / 0.669 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/0.7841, allocations: 5.78 MB / 0.6747 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004304/0.7885, allocations: 2.94 MB / 0.6776 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01603/0.8045, allocations: 8.756 MB / 0.6861 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/0.8047, allocations: 51.88 kB / 0.6862 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=206): time 6.893e-06/0.8047, allocations: 0 / 0.6862 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=262): time 0.4135/1.218, allocations: 34.71 MB / 0.7201 GB, free: 196.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.218, allocations: 206 kB / 0.7203 GB, free: 196.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008054/1.226, allocations: 4.785 MB / 0.7249 GB, free: 195.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005869/1.227, allocations: 62.36 kB / 0.725 GB, free: 195.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002421/1.229, allocations: 3.594 MB / 0.7285 GB, free: 193.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.231, allocations: 0.9671 MB / 0.7294 GB, free: 192.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002095/1.233, allocations: 1.344 MB / 0.7308 GB, free: 192.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/1.233, allocations: 313 kB / 0.731 GB, free: 191.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004721/1.238, allocations: 3.03 MB / 0.734 GB, free: 190.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006356/1.244, allocations: 6.836 MB / 0.7407 GB, free: 184.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/1.255, allocations: 10.67 MB / 0.7511 GB, free: 176.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000182/1.255, allocations: 39.56 kB / 0.7511 GB, free: 176.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02529/1.28, allocations: 13.21 MB / 0.764 GB, free: 171.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.281, allocations: 62.81 kB / 0.7641 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/1.281, allocations: 132.6 kB / 0.7642 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/1.292, allocations: 4.22 MB / 0.7684 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004478/1.296, allocations: 1.415 MB / 0.7697 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02983/1.326, allocations: 26.42 MB / 0.7955 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005775/1.332, allocations: 391.4 kB / 0.7959 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/1.333, allocations: 404 kB / 0.7963 GB, free: 139.6 MB / 0.545 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.004087/1.337, allocations: 2.454 MB / 0.7987 GB, free: 137.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009641/1.338, allocations: 446.3 kB / 0.7991 GB, free: 136.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/1.353, allocations: 8.234 MB / 0.8072 GB, free: 128.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.594e-05/1.353, allocations: 35.61 kB / 0.8072 GB, free: 128.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.168e-05/1.353, allocations: 15.98 kB / 0.8072 GB, free: 128.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.577e-05/1.353, allocations: 11.97 kB / 0.8072 GB, free: 128.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/1.38, allocations: 16.88 MB / 0.8237 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/1.38, allocations: 8 kB / 0.8237 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/1.381, allocations: 291.6 kB / 0.824 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009872/1.391, allocations: 3.939 MB / 0.8278 GB, free: 107.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003832/1.391, allocations: 48.5 kB / 0.8279 GB, free: 107.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02765/1.419, allocations: 25.2 MB / 0.8525 GB, free: 81.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.419, allocations: 15.98 kB / 0.8525 GB, free: 81.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/1.437, allocations: 12.11 MB / 0.8643 GB, free: 69.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/1.439, allocations: 495.2 kB / 0.8648 GB, free: 68.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.44, allocations: 47.98 kB / 0.8649 GB, free: 68.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/1.443, allocations: 167.7 kB / 0.865 GB, free: 68.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009652/1.444, allocations: 190.1 kB / 0.8652 GB, free: 68.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.444, allocations: 76.84 kB / 0.8653 GB, free: 68.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004555/1.449, allocations: 3.031 MB / 0.8682 GB, free: 65.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.72e-07/1.449, allocations: 0 / 0.8682 GB, free: 65.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009661/1.458, allocations: 1.406 MB / 0.8696 GB, free: 63.88 MB / 0.545 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.02219/1.48, allocations: 12.8 MB / 0.8821 GB, free: 50.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01222/1.493, allocations: 8.176 MB / 0.8901 GB, free: 42.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.493, allocations: 0 / 0.8901 GB, free: 42.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004906/1.498, allocations: 3.522 MB / 0.8935 GB, free: 39.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/1.501, allocations: 0.5874 MB / 0.8941 GB, free: 38.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.359/1.86, allocations: 75.89 MB / 0.9682 GB, free: 159.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004532/1.865, allocations: 3.922 MB / 0.972 GB, free: 158.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004746/1.87, allocations: 2.005 MB / 0.974 GB, free: 158.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003116/1.873, allocations: 2.365 MB / 0.9763 GB, free: 156.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.343e-06/1.873, allocations: 0 / 0.9763 GB, free: 156.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1468/2.02, allocations: 113.8 MB / 1.087 GB, free: 44.39 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/2.02, allocations: 254.2 kB / 1.088 GB, free: 44.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.865/6.885, allocations: 0 / 1.088 GB, free: 44.14 MB / 0.545 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