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.001257/0.001265, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009552/0.000955, allocations: 108 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.357/0.357, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.89 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3234, allocations: 62.02 MB / 0.5152 GB, free: 37.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.04673/0.3702, allocations: 62.37 MB / 0.5761 GB, free: 8.996 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03386/0.4041, allocations: 12.96 MB / 0.5887 GB, free: 14.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01692/0.4211, allocations: 279.3 kB / 0.589 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007523/0.4287, allocations: 3.713 MB / 0.5926 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005738/0.4345, allocations: 2.048 MB / 0.5946 GB, free: 7.996 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.4369, allocations: 0.9948 MB / 0.5956 GB, free: 7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01277/0.4497, allocations: 9.307 MB / 0.6047 GB, free: 13.68 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007435/0.4572, allocations: 4.44 MB / 0.609 GB, free: 9.164 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.4614, allocations: 1.814 MB / 0.6108 GB, free: 7.344 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005003/0.4665, allocations: 2.936 MB / 0.6136 GB, free: 4.398 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.468, allocations: 296 kB / 0.6139 GB, free: 4.109 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/0.4717, allocations: 1.389 MB / 0.6153 GB, free: 2.719 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003245/0.475, allocations: 2.365 MB / 0.6176 GB, free: 356 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004761/0.4798, allocations: 2.664 MB / 0.6202 GB, free: 13.67 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.4907, allocations: 8.45 MB / 0.6284 GB, free: 5.191 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.4907, allocations: 0 / 0.6284 GB, free: 5.191 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4907, allocations: 0 / 0.6284 GB, free: 5.191 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003227/0.4911, allocations: 0 / 0.6284 GB, free: 5.191 MB / 442.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.01866/0.5097, allocations: 6.273 MB / 0.6346 GB, free: 14.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5098, allocations: 8.031 kB / 0.6346 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.5223, allocations: 2.529 MB / 0.6371 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.533, allocations: 3.859 MB / 0.6408 GB, free: 8.379 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.5334, allocations: 283.7 kB / 0.6411 GB, free: 8.102 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/0.5352, allocations: 391.6 kB / 0.6415 GB, free: 7.719 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02376/0.559, allocations: 11.99 MB / 0.6532 GB, free: 10.94 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001931/0.5593, allocations: 63.44 kB / 0.6532 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000556/0.5598, allocations: 179.8 kB / 0.6534 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003254/0.5631, allocations: 2.14 MB / 0.6555 GB, free: 8.562 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02058/0.5837, allocations: 10.37 MB / 0.6656 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2957/0.8794, allocations: 47.51 MB / 0.712 GB, free: 98.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/0.8929, allocations: 5.822 MB / 0.7177 GB, free: 96.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004046/0.897, allocations: 2.978 MB / 0.7206 GB, free: 95.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/0.9129, allocations: 8.862 MB / 0.7293 GB, free: 90.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.913, allocations: 58.27 kB / 0.7293 GB, free: 90.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 5.31e-06/0.913, allocations: 0 / 0.7293 GB, free: 90.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.1161/1.029, allocations: 34.94 MB / 0.7634 GB, free: 69.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/1.029, allocations: 209.9 kB / 0.7636 GB, free: 69.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005656/1.035, allocations: 4.761 MB / 0.7683 GB, free: 64.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006064/1.036, allocations: 61.7 kB / 0.7683 GB, free: 64.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001744/1.037, allocations: 3.552 MB / 0.7718 GB, free: 61.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.038, allocations: 0.9704 MB / 0.7728 GB, free: 60.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/1.04, allocations: 1.428 MB / 0.7742 GB, free: 58.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.026e-05/1.04, allocations: 305.1 kB / 0.7744 GB, free: 58.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/1.044, allocations: 3.18 MB / 0.7776 GB, free: 55.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004639/1.048, allocations: 7.037 MB / 0.7844 GB, free: 46.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008933/1.057, allocations: 10.95 MB / 0.7951 GB, free: 33.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.042e-05/1.057, allocations: 40 kB / 0.7952 GB, free: 33.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02243/1.08, allocations: 13.75 MB / 0.8086 GB, free: 19.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.076e-05/1.08, allocations: 62.97 kB / 0.8086 GB, free: 19.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/1.08, allocations: 136 kB / 0.8088 GB, free: 19.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/1.092, allocations: 4.384 MB / 0.8131 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004401/1.096, allocations: 1.478 MB / 0.8145 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0338/1.13, allocations: 26.85 MB / 0.8407 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005475/1.135, allocations: 411.3 kB / 0.8411 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.137, allocations: 412 kB / 0.8415 GB, free: 1.648 MB / 0.4948 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.003711/1.14, allocations: 2.473 MB / 0.8439 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008245/1.141, allocations: 438.4 kB / 0.8443 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01728/1.158, allocations: 8.483 MB / 0.8526 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-05/1.159, allocations: 28 kB / 0.8526 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/1.159, allocations: 16 kB / 0.8527 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-05/1.159, allocations: 15.95 kB / 0.8527 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03137/1.19, allocations: 17.07 MB / 0.8693 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/1.19, allocations: 4 kB / 0.8693 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/1.192, allocations: 303.5 kB / 0.8696 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01788/1.21, allocations: 4.094 MB / 0.8736 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000759/1.21, allocations: 51.94 kB / 0.8737 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2796/1.49, allocations: 25.65 MB / 0.8987 GB, free: 174.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.49, allocations: 9.094 kB / 0.8987 GB, free: 174.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1987/1.689, allocations: 114.7 MB / 1.011 GB, free: 89.56 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/1.69, allocations: 500 kB / 1.011 GB, free: 89.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008732/1.691, allocations: 43.98 kB / 1.011 GB, free: 89.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/1.693, allocations: 175.6 kB / 1.011 GB, free: 88.85 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000771/1.694, allocations: 198 kB / 1.012 GB, free: 88.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/1.694, allocations: 72.48 kB / 1.012 GB, free: 88.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00376/1.698, allocations: 3.009 MB / 1.015 GB, free: 85.58 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/1.698, allocations: 0 / 1.015 GB, free: 85.58 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008094/1.706, allocations: 2.043 MB / 1.017 GB, free: 83.55 MB / 0.5417 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.0005931/1.707, allocations: 191.4 kB / 1.017 GB, free: 83.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01219/1.719, allocations: 8.428 MB / 1.025 GB, free: 74.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.719, allocations: 2.219 kB / 1.025 GB, free: 74.92 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005558/1.725, allocations: 3.562 MB / 1.029 GB, free: 71.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/1.728, allocations: 0.546 MB / 1.029 GB, free: 70.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02494/1.753, allocations: 17.8 MB / 1.046 GB, free: 52.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005309/1.758, allocations: 4.028 MB / 1.05 GB, free: 48.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004688/1.763, allocations: 2.018 MB / 1.052 GB, free: 46.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008638/1.764, allocations: 287.4 kB / 1.053 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of SimCode: time 8.51e-07/1.764, allocations: 4 kB / 1.053 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.3892/2.153, allocations: 99.36 MB / 1.15 GB, free: 137.4 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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