Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 101.5 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.368/0.368, allocations: 43.49 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1247, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.2962/0.4209, allocations: 53.49 MB / 0.5278 GB, free: 31.65 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02726/0.4482, allocations: 11.23 MB / 0.5388 GB, free: 24.58 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0143/0.4625, allocations: 232.2 kB / 0.539 GB, free: 24.54 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005473/0.468, allocations: 3.135 MB / 0.5421 GB, free: 23.11 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005898/0.474, allocations: 2.405 MB / 0.5444 GB, free: 22.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.4759, allocations: 0.9172 MB / 0.5453 GB, free: 21.71 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009799/0.4857, allocations: 9.455 MB / 0.5546 GB, free: 18.97 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007217/0.4929, allocations: 4.305 MB / 0.5588 GB, free: 17.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004968/0.4979, allocations: 1.984 MB / 0.5607 GB, free: 16.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006917/0.5049, allocations: 3.451 MB / 0.5641 GB, free: 15.61 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002522/0.5074, allocations: 331.2 kB / 0.5644 GB, free: 15.61 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004834/0.5123, allocations: 1.425 MB / 0.5658 GB, free: 15.28 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00486/0.5172, allocations: 2.757 MB / 0.5685 GB, free: 14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00663/0.5238, allocations: 3.131 MB / 0.5715 GB, free: 11.65 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.536, allocations: 9.954 MB / 0.5812 GB, free: 4.781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5361, allocations: 0 / 0.5812 GB, free: 4.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5361, allocations: 0 / 0.5812 GB, free: 4.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004063/0.5365, allocations: 4 kB / 0.5812 GB, free: 4.777 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.0181/0.5546, allocations: 7.341 MB / 0.5884 GB, free: 13.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5547, allocations: 12.03 kB / 0.5884 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.5704, allocations: 3.923 MB / 0.5923 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.5816, allocations: 4.216 MB / 0.5964 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/0.582, allocations: 324.6 kB / 0.5967 GB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002818/0.5848, allocations: 435.5 kB / 0.5971 GB, free: 4.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02824/0.6131, allocations: 15.73 MB / 0.6125 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001651/0.6133, allocations: 59.45 kB / 0.6125 GB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005715/0.6139, allocations: 203.8 kB / 0.6127 GB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005153/0.619, allocations: 3.22 MB / 0.6159 GB, free: 0.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02846/0.6475, allocations: 14.17 MB / 0.6297 GB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08196/0.7295, allocations: 57.77 MB / 0.6861 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01407/0.7436, allocations: 6.61 MB / 0.6926 GB, free: 140 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2597/1.003, allocations: 3.757 MB / 0.6962 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.024/1.027, allocations: 14.79 MB / 0.7107 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/1.028, allocations: 61.62 kB / 0.7107 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=292): time 6.141e-06/1.028, allocations: 0 / 0.7107 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=342): time 0.142/1.17, allocations: 42.54 MB / 0.7523 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.17, allocations: 212.5 kB / 0.7525 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007197/1.177, allocations: 5.502 MB / 0.7579 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009344/1.178, allocations: 73.22 kB / 0.7579 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/1.18, allocations: 4.342 MB / 0.7622 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/1.181, allocations: 1.27 MB / 0.7634 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002311/1.184, allocations: 1.859 MB / 0.7652 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.697e-05/1.184, allocations: 305.1 kB / 0.7655 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005242/1.189, allocations: 4.839 MB / 0.7702 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007239/1.196, allocations: 9.818 MB / 0.7798 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/1.21, allocations: 15.63 MB / 0.7951 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/1.211, allocations: 52 kB / 0.7951 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.03882/1.249, allocations: 19.62 MB / 0.8143 GB, free: 66.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/1.25, allocations: 81.69 kB / 0.8144 GB, free: 66.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002362/1.25, allocations: 172 kB / 0.8145 GB, free: 66.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0221/1.272, allocations: 5.941 MB / 0.8203 GB, free: 60.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007653/1.28, allocations: 2.125 MB / 0.8224 GB, free: 58.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02834/1.308, allocations: 24.77 MB / 0.8466 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008172/1.316, allocations: 0.5617 MB / 0.8472 GB, free: 32.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001908/1.318, allocations: 0.5117 MB / 0.8476 GB, free: 32.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1099): * Single equations (assignments): 1091 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006762/1.325, allocations: 3.095 MB / 0.8507 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/1.327, allocations: 0.4975 MB / 0.8512 GB, free: 28.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03032/1.357, allocations: 13.01 MB / 0.8639 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.241e-05/1.357, allocations: 55.28 kB / 0.8639 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/1.357, allocations: 8 kB / 0.8639 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.54e-05/1.357, allocations: 19.94 kB / 0.8639 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3062/1.663, allocations: 24.7 MB / 0.8881 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.76e-05/1.663, allocations: 5.344 kB / 0.8881 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003356/1.667, allocations: 0.5879 MB / 0.8886 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01931/1.686, allocations: 4.968 MB / 0.8935 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008299/1.687, allocations: 58.3 kB / 0.8935 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02415/1.711, allocations: 19.96 MB / 0.913 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.711, allocations: 10.98 kB / 0.9131 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3085/2.02, allocations: 146.8 MB / 1.056 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003413/2.023, allocations: 1.252 MB / 1.058 GB, free: 392 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/2.024, allocations: 59.45 kB / 1.058 GB, free: 336 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003504/2.028, allocations: 267.6 kB / 1.058 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009461/2.029, allocations: 193.8 kB / 1.058 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000317/2.029, allocations: 83.98 kB / 1.058 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005767/2.035, allocations: 3.418 MB / 1.062 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/2.035, allocations: 0 / 1.062 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009602/2.044, allocations: 2.406 MB / 1.064 GB, free: 9.996 MB / 0.5105 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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007673/2.045, allocations: 208.4 kB / 1.064 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.204/2.249, allocations: 10.99 MB / 1.075 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/2.249, allocations: 5.75 kB / 1.075 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005886/2.255, allocations: 4.134 MB / 1.079 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/2.259, allocations: 0.5903 MB / 1.079 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/2.286, allocations: 21.72 MB / 1.101 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006302/2.292, allocations: 4.748 MB / 1.105 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007542/2.3, allocations: 3.05 MB / 1.108 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/2.302, allocations: 360.8 kB / 1.109 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of SimCode: time 8.51e-07/2.302, allocations: 0 / 1.109 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1434/2.445, allocations: 116.4 MB / 1.222 GB, free: 40.59 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches