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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 197 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007507/0.000751, allocations: 88.66 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3588/0.3588, allocations: 44.83 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002555/0.0002555, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3504, allocations: 62.95 MB / 0.5184 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.4903, allocations: 110 MB / 0.6259 GB, free: 11.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4906, allocations: 79.94 kB / 0.6259 GB, free: 11.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.513/1.004, allocations: 105.3 MB / 0.7288 GB, free: 98.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.004, allocations: 0 / 0.7288 GB, free: 98.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004163/1.004, allocations: 100.6 kB / 0.7289 GB, free: 98.63 MB / 490.7 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.01965/1.024, allocations: 5.507 MB / 0.7342 GB, free: 95.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.024, allocations: 12.47 kB / 0.7343 GB, free: 95.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02056/1.044, allocations: 5.205 MB / 0.7393 GB, free: 95.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/1.058, allocations: 5.665 MB / 0.7449 GB, free: 92.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/1.059, allocations: 373.2 kB / 0.7452 GB, free: 92.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002532/1.061, allocations: 0.4981 MB / 0.7457 GB, free: 92.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0244/1.086, allocations: 12.22 MB / 0.7577 GB, free: 84.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002681/1.086, allocations: 78.94 kB / 0.7577 GB, free: 84.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008603/1.087, allocations: 242.5 kB / 0.758 GB, free: 83.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00134/1.088, allocations: 1.149 MB / 0.7591 GB, free: 83.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/1.106, allocations: 10.12 MB / 0.769 GB, free: 74.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05007/1.156, allocations: 55.59 MB / 0.8232 GB, free: 17.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/1.168, allocations: 5.626 MB / 0.8287 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002984/1.171, allocations: 2.857 MB / 0.8315 GB, free: 8.875 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/1.183, allocations: 8.717 MB / 0.84 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.441e-05/1.183, allocations: 55 kB / 0.8401 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=206): time 6.783e-06/1.183, allocations: 0 / 0.8401 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.126/1.309, allocations: 35.19 MB / 0.8745 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/1.309, allocations: 213.9 kB / 0.8747 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01224/1.322, allocations: 4.718 MB / 0.8793 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007654/1.323, allocations: 69.7 kB / 0.8793 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004177/1.327, allocations: 3.582 MB / 0.8828 GB, free: 4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002153/1.329, allocations: 0.9753 MB / 0.8838 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/1.33, allocations: 140 kB / 0.8839 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000846/1.331, allocations: 0.5911 MB / 0.8845 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3189/1.65, allocations: 3.003 MB / 0.8874 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007615/1.658, allocations: 6.837 MB / 0.8941 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.669, allocations: 10.69 MB / 0.9045 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001368/1.669, allocations: 36 kB / 0.9046 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02611/1.695, allocations: 13.08 MB / 0.9173 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000154/1.696, allocations: 61.19 kB / 0.9174 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002301/1.696, allocations: 134.4 kB / 0.9175 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01301/1.709, allocations: 4.064 MB / 0.9215 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006407/1.715, allocations: 1.422 MB / 0.9229 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04167/1.757, allocations: 25.9 MB / 0.9482 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009648/1.767, allocations: 390.4 kB / 0.9486 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002019/1.769, allocations: 408.6 kB / 0.9489 GB, free: 107.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * 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 (763): * Single equations (assignments): 757 * 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.008931/1.778, allocations: 2.466 MB / 0.9514 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/1.779, allocations: 441.8 kB / 0.9518 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02431/1.804, allocations: 8.118 MB / 0.9597 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.89e-05/1.804, allocations: 27.44 kB / 0.9597 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.354e-05/1.804, allocations: 16.69 kB / 0.9597 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.258e-05/1.804, allocations: 16.55 kB / 0.9598 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04452/1.849, allocations: 16.69 MB / 0.9761 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.653e-05/1.849, allocations: 7.406 kB / 0.9761 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002306/1.851, allocations: 299.2 kB / 0.9763 GB, free: 97.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01475/1.866, allocations: 3.768 MB / 0.98 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000836/1.867, allocations: 54.81 kB / 0.9801 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04441/1.911, allocations: 24.63 MB / 1.004 GB, free: 72.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.911, allocations: 7.938 kB / 1.004 GB, free: 72.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02905/1.94, allocations: 11.97 MB / 1.016 GB, free: 61.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001778/1.942, allocations: 489.3 kB / 1.016 GB, free: 60.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/1.943, allocations: 49.41 kB / 1.016 GB, free: 60.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003486/1.947, allocations: 167.8 kB / 1.017 GB, free: 60.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009863/1.948, allocations: 204.9 kB / 1.017 GB, free: 60.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002953/1.948, allocations: 69.25 kB / 1.017 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006448/1.955, allocations: 2.969 MB / 1.02 GB, free: 57.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/1.955, allocations: 0 / 1.02 GB, free: 57.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01105/1.966, allocations: 1.436 MB / 1.021 GB, free: 55.7 MB / 0.5261 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 (161): * Single equations (assignments): 155 * 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.0008865/1.967, allocations: 191.9 kB / 1.021 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01844/1.985, allocations: 8.14 MB / 1.029 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.985, allocations: 0 / 1.029 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008226/1.994, allocations: 3.486 MB / 1.033 GB, free: 43.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01061/2.004, allocations: 0.5827 MB / 1.033 GB, free: 43.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03338/2.038, allocations: 14.37 MB / 1.047 GB, free: 28.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007736/2.045, allocations: 3.931 MB / 1.051 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009169/2.055, allocations: 2.022 MB / 1.053 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/2.056, allocations: 283.4 kB / 1.053 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/2.056, allocations: 0 / 1.053 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.4116/2.468, allocations: 66.23 MB / 1.118 GB, free: 133.1 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches