Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 88.34 kB / 20.95 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3791/0.3791, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.348e-06/4.348e-06, allocations: 3.984 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.361e-05, allocations: 2.312 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01776/0.01779, allocations: 11.67 MB / 386.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.02981, allocations: 4.602 MB / 391.5 MB, free: 4.613 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003032/0.03284, allocations: 115.4 kB / 391.6 MB, free: 4.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00894/0.04178, allocations: 3.886 MB / 395.5 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00701/0.04879, allocations: 2.294 MB / 397.8 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.052, allocations: 1.189 MB / 399 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01194/0.06394, allocations: 7.722 MB / 406.7 MB, free: 5.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00798/0.07192, allocations: 4.427 MB / 411.2 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007265/0.07918, allocations: 3.165 MB / 414.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006116/0.0853, allocations: 3.168 MB / 417.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.08686, allocations: 444 kB / 417.9 MB, free: 10.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003962/0.09082, allocations: 1.412 MB / 419.3 MB, free: 8.676 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004011/0.09483, allocations: 2.669 MB / 422 MB, free: 6 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003612/0.09845, allocations: 1.651 MB / 423.7 MB, free: 4.344 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01453/0.113, allocations: 8.992 MB / 432.6 MB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.113, allocations: 0 / 432.6 MB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.113, allocations: 0 / 432.6 MB, free: 11.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003313/0.1133, allocations: 0 / 432.6 MB, free: 11.32 MB / 410.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.02012/0.1334, allocations: 6.466 MB / 439.1 MB, free: 4.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.1335, allocations: 12.03 kB / 439.1 MB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.1466, allocations: 3.161 MB / 442.3 MB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2022/0.3488, allocations: 3.857 MB / 446.1 MB, free: 98.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002405/0.3491, allocations: 281.3 kB / 446.4 MB, free: 98.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.3505, allocations: 385.7 kB / 446.8 MB, free: 98.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01914/0.3696, allocations: 12.15 MB / 458.9 MB, free: 92.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/0.3698, allocations: 53.03 kB / 459 MB, free: 92.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004857/0.3703, allocations: 177.8 kB / 459.2 MB, free: 92.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002771/0.3731, allocations: 2.154 MB / 461.3 MB, free: 92.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01949/0.3925, allocations: 10.42 MB / 471.7 MB, free: 88.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05435/0.4469, allocations: 44.38 MB / 0.504 GB, free: 54.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/0.4595, allocations: 5.251 MB / 0.5092 GB, free: 50.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002842/0.4623, allocations: 2.745 MB / 0.5118 GB, free: 48.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.4735, allocations: 8.176 MB / 0.5198 GB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.4736, allocations: 67.75 kB / 0.5199 GB, free: 39.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=207): time 4.889e-06/0.4736, allocations: 0 / 0.5199 GB, free: 39.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=263): time 0.1182/0.5918, allocations: 41.73 MB / 0.5606 GB, free: 14.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.5919, allocations: 205.9 kB / 0.5608 GB, free: 14.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007302/0.5992, allocations: 4.665 MB / 0.5654 GB, free: 9.371 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005311/0.5998, allocations: 61.7 kB / 0.5654 GB, free: 9.305 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003444/0.6032, allocations: 3.648 MB / 0.569 GB, free: 5.621 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/0.6047, allocations: 1.004 MB / 0.57 GB, free: 4.609 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00234/0.6071, allocations: 1.417 MB / 0.5714 GB, free: 3.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.6072, allocations: 301.1 kB / 0.5717 GB, free: 2.883 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005707/0.6129, allocations: 3.356 MB / 0.5749 GB, free: 15.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009835/0.6228, allocations: 7.232 MB / 0.582 GB, free: 6.402 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01725/0.64, allocations: 11.26 MB / 0.593 GB, free: 9.281 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001468/0.6402, allocations: 40 kB / 0.593 GB, free: 9.242 MB / 458.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.2018/0.842, allocations: 14.83 MB / 0.6075 GB, free: 126.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.787e-05/0.8421, allocations: 61.44 kB / 0.6076 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.8422, allocations: 133.2 kB / 0.6077 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01553/0.8577, allocations: 6.102 MB / 0.6137 GB, free: 126.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004756/0.8625, allocations: 1.492 MB / 0.6151 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03876/0.9012, allocations: 29.89 MB / 0.6443 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006134/0.9074, allocations: 0.5228 MB / 0.6448 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/0.9085, allocations: 419.4 kB / 0.6452 GB, free: 111.6 MB / 458.7 MB 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 (793): * Single equations (assignments): 787 * 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 {(9,49,48.1%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004007/0.9125, allocations: 2.46 MB / 0.6476 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/0.9137, allocations: 493.7 kB / 0.6481 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/0.9304, allocations: 9.257 MB / 0.6571 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.43e-05/0.9304, allocations: 30.75 kB / 0.6572 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.343e-05/0.9304, allocations: 12.25 kB / 0.6572 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.762e-05/0.9305, allocations: 17.2 kB / 0.6572 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02817/0.9587, allocations: 16.59 MB / 0.6734 GB, free: 94.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.792e-05/0.9587, allocations: 8.062 kB / 0.6734 GB, free: 94.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.9602, allocations: 323.5 kB / 0.6737 GB, free: 94.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01356/0.9737, allocations: 5.689 MB / 0.6793 GB, free: 88.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005333/0.9743, allocations: 47.75 kB / 0.6793 GB, free: 88.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03329/1.008, allocations: 28.77 MB / 0.7074 GB, free: 59.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.008, allocations: 5.375 kB / 0.7074 GB, free: 59.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02238/1.03, allocations: 13.6 MB / 0.7207 GB, free: 45.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/1.031, allocations: 435.2 kB / 0.7211 GB, free: 45.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.033, allocations: 47.98 kB / 0.7212 GB, free: 45.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00321/1.036, allocations: 282.1 kB / 0.7214 GB, free: 45.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009188/1.037, allocations: 201.9 kB / 0.7216 GB, free: 44.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/1.037, allocations: 71.98 kB / 0.7217 GB, free: 44.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004252/1.041, allocations: 2.796 MB / 0.7244 GB, free: 42.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/1.041, allocations: 0 / 0.7244 GB, free: 42.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007011/1.048, allocations: 1.624 MB / 0.726 GB, free: 40.48 MB / 458.7 MB 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 (159): * Single equations (assignments): 153 * 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 {(9,42,48.1%), (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.0006887/1.049, allocations: 202.6 kB / 0.7262 GB, free: 40.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01216/1.061, allocations: 8.511 MB / 0.7345 GB, free: 31.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.061, allocations: 8.312 kB / 0.7345 GB, free: 31.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005283/1.067, allocations: 3.54 MB / 0.738 GB, free: 28.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/1.071, allocations: 0.5449 MB / 0.7385 GB, free: 27.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/1.092, allocations: 12.87 MB / 0.7511 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004814/1.097, allocations: 3.395 MB / 0.7544 GB, free: 11.26 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004079/1.101, allocations: 1.953 MB / 0.7563 GB, free: 9.305 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000885/1.102, allocations: 272.4 kB / 0.7565 GB, free: 9.035 MB / 458.7 MB Notification: Performance of SimCode: time 2.034e-06/1.102, allocations: 0 / 0.7565 GB, free: 9.035 MB / 458.7 MB Notification: Performance of Templates: time 0.2889/1.391, allocations: 69.79 MB / 0.8247 GB, free: 117.9 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.41615735704545]