Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001924/0.001924, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.758/1.758, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3774/0.3774, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.705e-05/3.949e-05, allocations: 6.25 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.03119/0.03123, allocations: 14.37 MB / 391.6 MB, free: 4.488 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.04849, allocations: 4.733 MB / 396.3 MB, free: 15.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004262/0.05276, allocations: 107.5 kB / 396.4 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.0638, allocations: 3.371 MB / 399.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.07632, allocations: 2.695 MB / 402.5 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.0806, allocations: 1.115 MB / 403.6 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01859/0.09919, allocations: 7.816 MB / 411.4 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.1092, allocations: 4.231 MB / 415.6 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008238/0.1175, allocations: 3.395 MB / 419 MB, free: 8.898 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006793/0.1243, allocations: 3.648 MB / 422.7 MB, free: 5.242 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001665/0.1259, allocations: 496 kB / 423.2 MB, free: 4.758 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/0.1294, allocations: 1.467 MB / 424.6 MB, free: 3.289 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00373/0.1332, allocations: 3.074 MB / 427.7 MB, free: 212 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003957/0.1371, allocations: 1.861 MB / 429.6 MB, free: 14.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01781/0.1549, allocations: 10.56 MB / 440.1 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1549, allocations: 0 / 440.1 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1549, allocations: 0 / 440.1 MB, free: 3.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003873/0.1553, allocations: 0 / 440.1 MB, free: 3.742 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.1983/0.3536, allocations: 8.577 MB / 448.7 MB, free: 96.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3537, allocations: 12.19 kB / 448.7 MB, free: 96.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.3705, allocations: 4.674 MB / 453.4 MB, free: 95.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.3826, allocations: 3.712 MB / 457.1 MB, free: 94.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005758/0.3832, allocations: 316.9 kB / 457.4 MB, free: 94.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003436/0.3866, allocations: 427.3 kB / 457.8 MB, free: 94.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03457/0.4212, allocations: 9.624 MB / 467.4 MB, free: 88.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004849/0.4217, allocations: 60.88 kB / 467.5 MB, free: 88.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002988/0.4247, allocations: 206.3 kB / 467.7 MB, free: 88.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00743/0.4321, allocations: 3.22 MB / 470.9 MB, free: 88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03159/0.4637, allocations: 5.863 MB / 476.8 MB, free: 87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08663/0.5503, allocations: 68.12 MB / 0.5321 GB, free: 22.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.5606, allocations: 3.102 MB / 0.5352 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/0.5633, allocations: 1.213 MB / 0.5364 GB, free: 18.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01885/0.5821, allocations: 8.571 MB / 0.5447 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.5822, allocations: 74.25 kB / 0.5448 GB, free: 9.535 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 7.003e-06/0.5822, allocations: 4 kB / 0.5448 GB, free: 9.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=342): time 0.1069/0.689, allocations: 27.46 MB / 0.5716 GB, free: 14.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/0.6892, allocations: 214 kB / 0.5718 GB, free: 13.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/0.6995, allocations: 5.931 MB / 0.5776 GB, free: 7.871 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008862/0.7004, allocations: 73.7 kB / 0.5777 GB, free: 7.793 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005289/0.7057, allocations: 4.991 MB / 0.5826 GB, free: 2.754 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002601/0.7083, allocations: 1.458 MB / 0.584 GB, free: 1.285 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004681/0.713, allocations: 2.287 MB / 0.5862 GB, free: 14.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002617/0.7132, allocations: 480.7 kB / 0.5867 GB, free: 14.51 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005555/0.7188, allocations: 1.786 MB / 0.5884 GB, free: 12.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01522/0.734, allocations: 9.478 MB / 0.5977 GB, free: 15.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02119/0.7552, allocations: 12.38 MB / 0.6098 GB, free: 152 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002804/0.7555, allocations: 48 kB / 0.6098 GB, free: 104 kB / 474.7 MB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.2711/1.027, allocations: 12.58 MB / 0.6221 GB, free: 128.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000128/1.027, allocations: 79.56 kB / 0.6222 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002238/1.027, allocations: 170.8 kB / 0.6223 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02383/1.051, allocations: 4.915 MB / 0.6271 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007125/1.058, allocations: 2.119 MB / 0.6292 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/1.077, allocations: 9.916 MB / 0.6389 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007415/1.084, allocations: 0.6156 MB / 0.6395 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.085, allocations: 0.5134 MB / 0.64 GB, free: 124.3 MB / 474.7 MB 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 (1095): * Single equations (assignments): 1087 * 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.003245/1.089, allocations: 0.9969 MB / 0.641 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.09, allocations: 0.561 MB / 0.6415 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02776/1.118, allocations: 7.391 MB / 0.6487 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001214/1.118, allocations: 55.19 kB / 0.6488 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.211e-05/1.118, allocations: 9.312 kB / 0.6488 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.843e-05/1.118, allocations: 13.67 kB / 0.6488 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04848/1.166, allocations: 17.31 MB / 0.6657 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-05/1.167, allocations: 5 kB / 0.6657 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/1.17, allocations: 0.589 MB / 0.6663 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02148/1.191, allocations: 4.306 MB / 0.6705 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008934/1.192, allocations: 61.62 kB / 0.6705 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/1.208, allocations: 8.572 MB / 0.6789 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.208, allocations: 15.97 kB / 0.6789 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0272/1.235, allocations: 8.664 MB / 0.6874 GB, free: 92.78 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/1.237, allocations: 469.6 kB / 0.6878 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/1.238, allocations: 55.12 kB / 0.6879 GB, free: 92.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/1.242, allocations: 315.4 kB / 0.6882 GB, free: 91.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008969/1.243, allocations: 201.5 kB / 0.6884 GB, free: 91.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002761/1.243, allocations: 87.67 kB / 0.6885 GB, free: 91.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003714/1.247, allocations: 2.416 MB / 0.6908 GB, free: 89.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/1.247, allocations: 0 / 0.6908 GB, free: 89.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008583/1.255, allocations: 1.869 MB / 0.6926 GB, free: 87.41 MB / 474.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 (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.0008709/1.256, allocations: 221.8 kB / 0.6929 GB, free: 87.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01186/1.268, allocations: 6.354 MB / 0.6991 GB, free: 80.83 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.268, allocations: 1.969 kB / 0.6991 GB, free: 80.83 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003688/1.272, allocations: 2.092 MB / 0.7011 GB, free: 78.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/1.275, allocations: 0.543 MB / 0.7016 GB, free: 78.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/1.295, allocations: 12.7 MB / 0.714 GB, free: 65.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005505/1.301, allocations: 3.688 MB / 0.7176 GB, free: 61.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006213/1.307, allocations: 2.381 MB / 0.72 GB, free: 59.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/1.309, allocations: 336.4 kB / 0.7203 GB, free: 58.91 MB / 474.7 MB Notification: Performance of SimCode: time 2.284e-06/1.309, allocations: 0 / 0.7203 GB, free: 58.91 MB / 474.7 MB Notification: Performance of Templates: time 0.2861/1.595, allocations: 75.15 MB / 0.7937 GB, free: 134.9 MB / 490.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.85393792798277]