Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001409/0.001409, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001621/0.001621, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.47/1.47, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.1 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.2199/0.2199, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 442.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.86e-05, allocations: 4.812 kB / 442.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.2236/0.2236, allocations: 10.52 MB / 453.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.2338, allocations: 4.128 MB / 457.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.2364, allocations: 89.28 kB / 457.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006021/0.2424, allocations: 2.797 MB / 460.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006822/0.2492, allocations: 2.109 MB / 462.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.252, allocations: 1.006 MB / 463.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009663/0.2617, allocations: 6.406 MB / 469.7 MB, free: 6.105 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004358/0.266, allocations: 3.332 MB / 473 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005489/0.2715, allocations: 2.637 MB / 475.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004461/0.276, allocations: 2.82 MB / 478.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009643/0.2769, allocations: 395.5 kB / 478.9 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.2797, allocations: 1.362 MB / 480.2 MB, free: 144 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002922/0.2827, allocations: 2.335 MB / 482.6 MB, free: 14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002978/0.2856, allocations: 1.445 MB / 484 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.2978, allocations: 8.065 MB / 492.1 MB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.2978, allocations: 0 / 492.1 MB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2978, allocations: 0 / 492.1 MB, free: 4.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002587/0.2981, allocations: 0 / 492.1 MB, free: 4.465 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01582/0.3139, allocations: 5.613 MB / 497.7 MB, free: 14.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.802e-05/0.314, allocations: 8.031 kB / 497.7 MB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/0.3271, allocations: 2.619 MB / 0.4886 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009589/0.3367, allocations: 3.296 MB / 0.4918 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003826/0.3371, allocations: 242.5 kB / 0.492 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002349/0.3395, allocations: 328.3 kB / 0.4924 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/0.3628, allocations: 10.95 MB / 0.503 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002073/0.363, allocations: 55.59 kB / 0.5031 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005393/0.3635, allocations: 147.9 kB / 0.5032 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003773/0.3673, allocations: 1.998 MB / 0.5052 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0215/0.3888, allocations: 9.43 MB / 0.5144 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06157/0.4504, allocations: 38.31 MB / 0.5518 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/0.4623, allocations: 3.768 MB / 0.5555 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002926/0.4652, allocations: 1.779 MB / 0.5572 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/0.4769, allocations: 6 MB / 0.5631 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.4769, allocations: 56.5 kB / 0.5631 GB, free: 13.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 5.009e-06/0.4769, allocations: 0 / 0.5631 GB, free: 13.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=236): time 0.1835/0.6604, allocations: 41.91 MB / 0.6041 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/0.6606, allocations: 205.9 kB / 0.6043 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006563/0.6672, allocations: 4.209 MB / 0.6084 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006845/0.6678, allocations: 57.7 kB / 0.6084 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003575/0.6714, allocations: 3.28 MB / 0.6116 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001459/0.6729, allocations: 0.9069 MB / 0.6125 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002263/0.6751, allocations: 1.345 MB / 0.6138 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6753, allocations: 301.4 kB / 0.6141 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005784/0.6811, allocations: 3.628 MB / 0.6177 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009647/0.6907, allocations: 7.344 MB / 0.6248 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2683/0.959, allocations: 11.62 MB / 0.6362 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001904/0.9592, allocations: 37.78 kB / 0.6362 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.04618/1.005, allocations: 16.15 MB / 0.652 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.005, allocations: 59.88 kB / 0.6521 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001841/1.006, allocations: 127 kB / 0.6522 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02531/1.031, allocations: 6.223 MB / 0.6582 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/1.036, allocations: 1.489 MB / 0.6597 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03099/1.067, allocations: 27.18 MB / 0.6862 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006637/1.074, allocations: 466.7 kB / 0.6867 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/1.075, allocations: 386.1 kB / 0.6871 GB, free: 141.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (778): * Single equations (assignments): 773 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003877/1.079, allocations: 2.211 MB / 0.6892 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008329/1.08, allocations: 369.4 kB / 0.6896 GB, free: 139 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0283/1.108, allocations: 11.23 MB / 0.7005 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.703e-05/1.108, allocations: 28 kB / 0.7006 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.818e-05/1.108, allocations: 8 kB / 0.7006 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.392e-05/1.108, allocations: 14.03 kB / 0.7006 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04021/1.148, allocations: 18.99 MB / 0.7191 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.772e-05/1.148, allocations: 8 kB / 0.7191 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/1.15, allocations: 384 kB / 0.7195 GB, free: 108 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02041/1.171, allocations: 5.309 MB / 0.7247 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004849/1.171, allocations: 43.98 kB / 0.7247 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02523/1.197, allocations: 22.27 MB / 0.7465 GB, free: 80.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.197, allocations: 15.97 kB / 0.7465 GB, free: 80.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03057/1.227, allocations: 14.53 MB / 0.7607 GB, free: 65.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.228, allocations: 393.6 kB / 0.761 GB, free: 65.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008089/1.229, allocations: 43.94 kB / 0.7611 GB, free: 65.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/1.232, allocations: 227.6 kB / 0.7613 GB, free: 65.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007263/1.233, allocations: 160.9 kB / 0.7615 GB, free: 65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/1.233, allocations: 66.25 kB / 0.7615 GB, free: 64.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003252/1.236, allocations: 2.49 MB / 0.764 GB, free: 62.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/1.236, allocations: 4 kB / 0.764 GB, free: 62.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006059/1.242, allocations: 1.483 MB / 0.7654 GB, free: 60.98 MB / 0.5294 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006775/1.243, allocations: 206.4 kB / 0.7656 GB, free: 60.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01057/1.253, allocations: 8 MB / 0.7734 GB, free: 52.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.253, allocations: 8.062 kB / 0.7734 GB, free: 52.81 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004062/1.258, allocations: 2.986 MB / 0.7763 GB, free: 49.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/1.261, allocations: 460.2 kB / 0.7768 GB, free: 49.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/1.277, allocations: 11.94 MB / 0.7884 GB, free: 37.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002946/1.28, allocations: 2.969 MB / 0.7913 GB, free: 34.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003849/1.284, allocations: 1.928 MB / 0.7932 GB, free: 32.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.285, allocations: 256.4 kB / 0.7935 GB, free: 32.18 MB / 0.5294 GB Notification: Performance of SimCode: time 1.403e-06/1.285, allocations: 0 / 0.7935 GB, free: 32.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.3441/1.629, allocations: 66.15 MB / 0.8581 GB, free: 173 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.096983525902033]