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: 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/ModelicaServices trunk/package.mo): time 0.001587/0.001594, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002727/0.002727, allocations: 209.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.964/2.964, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5167/0.5167, allocations: 46.1 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 81.83 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2631, allocations: 62.43 MB / 480.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.6585/0.9217, allocations: 61.94 MB / 0.5294 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05857/0.9804, allocations: 12.66 MB / 0.5417 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03168/1.012, allocations: 275.2 kB / 0.542 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0112/1.024, allocations: 3.597 MB / 0.5455 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01434/1.038, allocations: 2.011 MB / 0.5475 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005664/1.044, allocations: 1.007 MB / 0.5485 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02121/1.065, allocations: 7.045 MB / 0.5553 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01766/1.083, allocations: 4.74 MB / 0.56 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008901/1.092, allocations: 2.064 MB / 0.562 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009069/1.101, allocations: 3.057 MB / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003538/1.105, allocations: 428 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007614/1.112, allocations: 1.451 MB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007695/1.12, allocations: 2.478 MB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01188/1.132, allocations: 2.793 MB / 0.572 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01715/1.149, allocations: 6.97 MB / 0.5788 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/1.149, allocations: 0 / 0.5788 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.806e-06/1.149, allocations: 4 kB / 0.5788 GB, free: 2.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004946/1.15, allocations: 0 / 0.5788 GB, free: 2.207 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.03955/1.189, allocations: 6.231 MB / 0.5848 GB, free: 11.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.322e-05/1.19, allocations: 8.031 kB / 0.5849 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0204/1.21, allocations: 2.525 MB / 0.5873 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02059/1.231, allocations: 3.844 MB / 0.5911 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006541/1.231, allocations: 287.8 kB / 0.5913 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003039/1.234, allocations: 387.6 kB / 0.5917 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04996/1.284, allocations: 12.01 MB / 0.6034 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005929/1.285, allocations: 55.44 kB / 0.6035 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002889/1.288, allocations: 179.8 kB / 0.6037 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00662/1.295, allocations: 2.147 MB / 0.6058 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04017/1.335, allocations: 10.37 MB / 0.6159 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/1.459, allocations: 47.5 MB / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0306/1.489, allocations: 5.829 MB / 0.668 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007439/1.497, allocations: 2.97 MB / 0.6709 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02813/1.525, allocations: 8.876 MB / 0.6795 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/1.525, allocations: 55.88 kB / 0.6796 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=206): time 1.361e-05/1.525, allocations: 0 / 0.6796 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=262): time 0.2487/1.774, allocations: 34.91 MB / 0.7137 GB, free: 5.375 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002036/1.774, allocations: 213.9 kB / 0.7139 GB, free: 5.125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01777/1.792, allocations: 4.768 MB / 0.7185 GB, free: 360 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001153/1.793, allocations: 61.7 kB / 0.7186 GB, free: 292 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.5992/2.393, allocations: 3.534 MB / 0.7221 GB, free: 196.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002691/2.395, allocations: 0.9763 MB / 0.723 GB, free: 196 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006746/2.402, allocations: 1.425 MB / 0.7244 GB, free: 195.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001258/2.402, allocations: 303 kB / 0.7247 GB, free: 195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01498/2.417, allocations: 3.176 MB / 0.7278 GB, free: 193.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01936/2.437, allocations: 7.038 MB / 0.7347 GB, free: 187.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02837/2.465, allocations: 10.95 MB / 0.7454 GB, free: 179.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003905/2.466, allocations: 37.78 kB / 0.7454 GB, free: 179.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.07076/2.537, allocations: 13.76 MB / 0.7588 GB, free: 174.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002319/2.537, allocations: 63.69 kB / 0.7589 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003522/2.537, allocations: 133.6 kB / 0.759 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0201/2.557, allocations: 4.4 MB / 0.7633 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01333/2.571, allocations: 1.476 MB / 0.7648 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0665/2.637, allocations: 29.05 MB / 0.7931 GB, free: 143.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/2.649, allocations: 411.4 kB / 0.7935 GB, free: 142.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00289/2.652, allocations: 411.9 kB / 0.7939 GB, free: 142.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * 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 (798): * Single equations (assignments): 792 * 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.009693/2.661, allocations: 2.471 MB / 0.7963 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002145/2.663, allocations: 435.9 kB / 0.7967 GB, free: 139.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04108/2.705, allocations: 8.479 MB / 0.805 GB, free: 131 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.512e-05/2.705, allocations: 28 kB / 0.805 GB, free: 131 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.255e-05/2.705, allocations: 12 kB / 0.805 GB, free: 131 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.131e-05/2.705, allocations: 15.95 kB / 0.8051 GB, free: 131 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08496/2.79, allocations: 17.07 MB / 0.8217 GB, free: 113.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-05/2.79, allocations: 9.5 kB / 0.8217 GB, free: 113.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/2.792, allocations: 307.4 kB / 0.822 GB, free: 113.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01769/2.81, allocations: 3.979 MB / 0.8259 GB, free: 109.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009039/2.811, allocations: 47.67 kB / 0.826 GB, free: 109.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05278/2.864, allocations: 27.75 MB / 0.8531 GB, free: 81.33 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/2.864, allocations: 8 kB / 0.8531 GB, free: 81.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03393/2.898, allocations: 12.43 MB / 0.8652 GB, free: 68.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/2.901, allocations: 487.4 kB / 0.8657 GB, free: 68.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003125/2.904, allocations: 47.98 kB / 0.8657 GB, free: 68.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0052/2.909, allocations: 175.8 kB / 0.8659 GB, free: 68.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001707/2.911, allocations: 190 kB / 0.8661 GB, free: 67.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006938/2.912, allocations: 68 kB / 0.8661 GB, free: 67.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008608/2.92, allocations: 3.005 MB / 0.8691 GB, free: 64.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.32e-07/2.92, allocations: 4 kB / 0.8691 GB, free: 64.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0186/2.939, allocations: 1.454 MB / 0.8705 GB, free: 63.32 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.001621/2.941, allocations: 187.2 kB / 0.8707 GB, free: 63.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02883/2.969, allocations: 10.01 MB / 0.8805 GB, free: 53.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.312e-05/2.97, allocations: 0 / 0.8805 GB, free: 53.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01007/2.98, allocations: 3.532 MB / 0.8839 GB, free: 49.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/2.99, allocations: 0.5861 MB / 0.8845 GB, free: 48.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05005/3.04, allocations: 15.43 MB / 0.8995 GB, free: 33.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01623/3.057, allocations: 3.895 MB / 0.9033 GB, free: 29.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0026/3.059, allocations: 323.4 kB / 0.9036 GB, free: 29.23 MB / 0.545 GB Notification: Performance of SimCode: time 3.436e-06/3.059, allocations: 0 / 0.9036 GB, free: 29.23 MB / 0.545 GB Notification: Performance of Templates: time 0.9923/4.052, allocations: 141.6 MB / 1.042 GB, free: 77.38 MB / 0.545 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","/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